aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-org.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp/init-org.el')
-rw-r--r--.emacs.d/lisp/init-org.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-org.el b/.emacs.d/lisp/init-org.el
index 135ccd3..3a314d9 100644
--- a/.emacs.d/lisp/init-org.el
+++ b/.emacs.d/lisp/init-org.el
@@ -135,4 +135,14 @@
(org-save-all-org-buffers)
(org-agenda-quit))))
+(use-package org-roam
+ :ensure t
+ :after (org evil)
+ :commands (org-roam-node-find)
+ :hook (org-mode . (lambda () (org-roam-db-autosync-mode)))
+ :init
+ (setq org-roam-directory (file-truename "~/Sync"))
+ (evil-define-key 'normal 'global
+ (kbd "<leader>fn") 'org-roam-node-find))
+
(provide 'init-org)