summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2024-07-14 11:08:42 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2024-07-14 11:08:42 +0100
commit6f1a4d035aaa084fdc3ba844df8cee0faf51e91a (patch)
tree687a7298d0be536b70529ec14e059cd50ffee2ef
parent4ef357ebc849bdda3b8483e3ec3930a072eea4aa (diff)
emacs: Experiment with Org-roam
-rw-r--r--dotfiles-darwin/emacs/init.el7
-rw-r--r--emacs/init.el6
2 files changed, 13 insertions, 0 deletions
diff --git a/dotfiles-darwin/emacs/init.el b/dotfiles-darwin/emacs/init.el
index c400d54..2c55404 100644
--- a/dotfiles-darwin/emacs/init.el
+++ b/dotfiles-darwin/emacs/init.el
@@ -7,6 +7,13 @@
(setq insert-directory-program "gls"))
+;; Org
+
+(use-package org-roam
+ :defer t
+ :custom (org-roam-directory "~/Documents/ZK/"))
+
+
;; Theme Management
(when (or window-system (daemonp))
diff --git a/emacs/init.el b/emacs/init.el
index ec347d6..e246e6d 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -222,6 +222,12 @@
(org-startup-folded 'showall))
:defer t)
+(use-package org-roam
+ :config (org-roam-db-autosync-enable)
+ :bind ("C-c n f" . org-roam-node-find)
+ :custom (org-roam-db-location (my/data-file-name "org-roam.db"))
+ :ensure t)
+
;; Rust