From 8a8499bcad1a4b820dbfcb08c5bdbb1feea93377 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Wed, 21 Sep 2022 20:46:18 +0800 Subject: Define key to sync org roam db --- .emacs.d/lisp/init-org-roam.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3