Adapt to better work on other systems.
This commit is contained in:
@@ -48,7 +48,9 @@
|
||||
(setq org-roam-directory (file-truename "~/data2/Notes"))
|
||||
|
||||
;; This tells org-roam to sync notes with its index in the background.
|
||||
(org-roam-db-autosync-mode)
|
||||
(if (file-directory-p org-roam-directory)
|
||||
(org-roam-db-autosync-mode)
|
||||
(message "Org Roam directory (%s) does not exist. Autosync disabled." org-roam-directory))
|
||||
|
||||
(setq global-roam-map (make-sparse-keymap "Roam Keys"))
|
||||
(global-set-key "\C-cr" global-roam-map)
|
||||
|
||||
Reference in New Issue
Block a user