Skip to content

Commit

Permalink
Add Org-roam specific key-bindings into 'org-mode-map'.
Browse files Browse the repository at this point in the history
  • Loading branch information
vonavi committed Aug 11, 2024
1 parent d13611d commit cb559c3
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions packages/config/org-roam.el
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,18 @@
;; Show the tags associated with the note
(setq org-roam-node-display-template
(concat "${title:*} " (propertize "${tags:10}" 'face 'org-tag)))
:bind (("C-c n l" . org-roam-buffer-toggle)
("C-c n f" . org-roam-node-find)
("C-c n g" . org-roam-graph)
("C-c n i" . org-roam-node-insert)
("C-c n c" . org-roam-capture)
("C-c n j" . org-roam-dailies-capture-today))
:bind
(("C-c n f" . org-roam-node-find)
("C-c n g" . org-roam-graph)
("C-c n c" . org-roam-capture)
("C-c n j" . org-roam-dailies-capture-today)
:map org-mode-map
("C-c n t" . org-roam-tag-add)
("C-c n T" . org-roam-tag-remove)
("C-c n l" . org-roam-buffer-toggle)
("C-c n i" . org-roam-node-insert)
("C-c n r" . org-roam-refile)
("C-c n x" . org-roam-extract-subtree))
:config
;; Update SQLite database of Org files as they are modified
(org-roam-db-autosync-mode +1))
Expand Down

0 comments on commit cb559c3

Please sign in to comment.