Browse Source

Add org-roam ignore pattern for Syncthing, update .db location to cache

master
Riyyi 4 years ago
parent
commit
29300127fc
  1. 8
      .config/emacs/config.org

8
.config/emacs/config.org

@ -310,6 +310,7 @@ Provides Emacs with a file tree.
(neo-show-hidden-files t) (neo-show-hidden-files t)
(neo-vc-integration '(face)) (neo-vc-integration '(face))
:hook (neotree-mode . dot/hook-disable-line-numbers)) :hook (neotree-mode . dot/hook-disable-line-numbers))
:hook (neotree-mode . hl-line-mode)
#+END_SRC #+END_SRC
*** Centaur Tabs *** Centaur Tabs
@ -377,9 +378,12 @@ Setup =org-roam=.
:hook (org-roam-backlinks-mode . dot/hook-disable-line-numbers) :hook (org-roam-backlinks-mode . dot/hook-disable-line-numbers)
:hook (org-roam-backlinks-mode . dot/hook-disable-mode-line) :hook (org-roam-backlinks-mode . dot/hook-disable-mode-line)
:config :config
(setq org-roam-directory (concat (file-name-directory org-directory) "org/"))
(setq org-roam-verbose nil)
(setq org-roam-completion-system 'default) (setq org-roam-completion-system 'default)
(setq org-roam-db-location (expand-file-name "org-roam.db" dot-cache-dir))
(setq org-roam-directory (expand-file-name "./" org-directory))
;; Exclude Syncthing versions backup directory
(setq org-roam-file-exclude-regexp "\\.stversions")
(setq org-roam-verbose nil)
(org-roam-mode)) (org-roam-mode))
#+END_SRC #+END_SRC

Loading…
Cancel
Save