diff options
author | Guangxiong Lin <[email protected]> | 2022-02-22 00:22:06 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-02-22 00:22:06 +0800 |
commit | 65bed3d83a0086c6871e9ce007622f8d37936424 (patch) | |
tree | 1aa6d3a13a442dfbceed93019268f30788397cb6 /.emacs.d/lisp | |
parent | c53c9bba77c4c81d25b3e297e6df9304ff5fe3d7 (diff) | |
download | dotfiles-65bed3d83a0086c6871e9ce007622f8d37936424.tar.gz dotfiles-65bed3d83a0086c6871e9ce007622f8d37936424.tar.bz2 dotfiles-65bed3d83a0086c6871e9ce007622f8d37936424.zip |
Add org roam package
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r-- | .emacs.d/lisp/init-org.el | 10 |
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) |