summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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