aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-09-21 20:46:18 +0800
committerGuangxiong Lin <[email protected]>2022-09-21 20:46:18 +0800
commit8a8499bcad1a4b820dbfcb08c5bdbb1feea93377 (patch)
tree27ce39b507926be6fbb52719e4c4af3d15809b52
parentf44c0c448c2192a03699b53fe64296c25cfbad1b (diff)
downloaddotfiles-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.el3
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