aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/.gitignore2
-rw-r--r--.emacs.d/lisp/init-org.el10
2 files changed, 12 insertions, 0 deletions
diff --git a/.emacs.d/.gitignore b/.emacs.d/.gitignore
index 8c1df1d..727d0b6 100644
--- a/.emacs.d/.gitignore
+++ b/.emacs.d/.gitignore
@@ -8,4 +8,6 @@ bookmarks
network-security.data
org-clock-save.el
transient
+org-roam.db
+.org-id-locations
pyim
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)