diff options
author | Guangxiong Lin <[email protected]> | 2022-09-21 20:46:18 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-09-21 20:46:18 +0800 |
commit | 8a8499bcad1a4b820dbfcb08c5bdbb1feea93377 (patch) | |
tree | 27ce39b507926be6fbb52719e4c4af3d15809b52 | |
parent | f44c0c448c2192a03699b53fe64296c25cfbad1b (diff) | |
download | dotfiles-8a8499bcad1a4b820dbfcb08c5bdbb1feea93377.tar.gz dotfiles-8a8499bcad1a4b820dbfcb08c5bdbb1feea93377.tar.bz2 dotfiles-8a8499bcad1a4b820dbfcb08c5bdbb1feea93377.zip |
Define key to sync org roam db
-rw-r--r-- | .emacs.d/lisp/init-org-roam.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-org-roam.el b/.emacs.d/lisp/init-org-roam.el index 9f1b5f9..2825752 100644 --- a/.emacs.d/lisp/init-org-roam.el +++ b/.emacs.d/lisp/init-org-roam.el @@ -6,7 +6,8 @@ (define-key global-map (kbd "C-c n j") #'org-roam-dailies-capture-today) (with-eval-after-load 'org (define-key org-mode-map (kbd "C-c n i") #'org-roam-node-insert) - (define-key org-mode-map (kbd "C-c n l") #'org-roam-buffer-toggle))) + (define-key org-mode-map (kbd "C-c n l") #'org-roam-buffer-toggle) + (define-key org-mode-map (kbd "C-c n s") #'org-roam-db-sync))) (with-eval-after-load 'evil (evil-define-key 'normal 'global |