From 65bed3d83a0086c6871e9ce007622f8d37936424 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Tue, 22 Feb 2022 00:22:06 +0800 Subject: Add org roam package --- .emacs.d/lisp/init-org.el | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to '.emacs.d/lisp/init-org.el') 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 "fn") 'org-roam-node-find)) + (provide 'init-org) -- cgit v1.2.3