update org config

This commit is contained in:
Grigory Shipunov 2020-11-14 22:11:59 +01:00
parent c94a63599b
commit 5a9b0d43cc
No known key found for this signature in database
GPG key ID: 77BB6C3E4771EE7C

View file

@ -200,6 +200,7 @@
(cc-mode . rainbow-delimiters-mode))) (cc-mode . rainbow-delimiters-mode)))
(use-package org (use-package org
:straight org-plus-contrib
:bind (("C-c a" . org-agenda) :bind (("C-c a" . org-agenda)
("C-c c" . org-capture) ("C-c c" . org-capture)
("C-c l" . org-store-link) ("C-c l" . org-store-link)
@ -249,6 +250,8 @@
(emacs-lisp .t) (emacs-lisp .t)
(python . t) (python . t)
(scheme . t))) (scheme . t)))
;; latex preview settings
(add-to-list 'org-latex-packages-alist '("" "braket" t))
:config :config
;; abbrev expansion in org-mode ;; abbrev expansion in org-mode
(require 'org-tempo)) (require 'org-tempo))
@ -256,7 +259,8 @@
(use-package org-roam (use-package org-roam
:straight t :straight t
:hook ('after-init-hook . 'org-roam-mode) :hook ('after-init-hook . 'org-roam-mode)
:init (setq org-roam-directory "~/nextcloud/org/roam")) :init (setq org-roam-directory "~/nextcloud/org/roam"
org-roam-db-update-method 'immediate))
(use-package magit (use-package magit
:straight t :straight t