Update Org Roam configuration

This commit is contained in:
Gergely Polonkai 2023-08-28 09:56:07 +02:00
parent e6eb03c3d7
commit b428361a5d
1 changed files with 8 additions and 4 deletions

View File

@ -1205,12 +1205,15 @@ This emulates how Orgzly work with my current settings.
** Org Roam ** Org Roam
Lets see if i can get my brain more organised this way…
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package org-roam (use-package org-roam
:after org
:ensure t
:config :config
(setq org-roam-node-display-template (concat (setq org-roam-node-display-template (concat "${title:*} "
"${title:*} " (propertize "${tags:10}" 'face 'org-tag)))
(propertize "${tags:10}" 'face 'org-tag)))
(org-roam-db-autosync-mode) (org-roam-db-autosync-mode)
(require 'org-roam-dailies) (require 'org-roam-dailies)
(require 'org-roam-protocol) (require 'org-roam-protocol)
@ -1228,9 +1231,10 @@ This emulates how Orgzly work with my current settings.
("C-c n i" . org-roam-node-insert) ("C-c n i" . org-roam-node-insert)
("C-c n c" . org-roam-capture) ("C-c n c" . org-roam-capture)
:map org-mode-map :map org-mode-map
("C-M-i" . completion-at-point) ("C-M-i" . completion-at-point)
:map org-roam-dailies-map :map org-roam-dailies-map
("Y" . org-roam-dailies-capture-yesterday) ("Y" . org-roam-dailies-capture-yesterday)
("j" . org-roam-dailies-capture-today)
("T" . org-roam-dailies-capture-tomorrow)) ("T" . org-roam-dailies-capture-tomorrow))
:bind-keymap :bind-keymap
("C-c n d" . org-roam-dailies-map)) ("C-c n d" . org-roam-dailies-map))