Added some templates to org-roam in config.org
This commit is contained in:
parent
00a74f0cd9
commit
780748e618
@ -114,8 +114,8 @@ Add a nice visualization for tabs and spaces. This can be helpful to identify wh
|
|||||||
(setq whitespace-global-modes '(not org-mode dired-mode))
|
(setq whitespace-global-modes '(not org-mode dired-mode))
|
||||||
(setq whitespace-style '(face tabs spaces tab-mark space-mark trailing))
|
(setq whitespace-style '(face tabs spaces tab-mark space-mark trailing))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
'(whitespace-tab ((t (:foreground "#384551" :background nil))))
|
'(whitespace-tab ((t (:foreground "#384551"))))
|
||||||
'(whitespace-space ((t (:foreground "#384551" :background nil)))))
|
'(whitespace-space ((t (:foreground "#384551")))))
|
||||||
|
|
||||||
|
|
||||||
(setq whitespace-display-mappings
|
(setq whitespace-display-mappings
|
||||||
@ -576,6 +576,7 @@ Org-roam is a plain-text knowledge management system. It brings some of Roam's m
|
|||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package org-roam
|
(use-package org-roam
|
||||||
:ensure t
|
:ensure t
|
||||||
|
:defer
|
||||||
:custom
|
:custom
|
||||||
(org-roam-directory "~/Notes")
|
(org-roam-directory "~/Notes")
|
||||||
:bind (("C-c n l" . org-roam-buffer-toggle)
|
:bind (("C-c n l" . org-roam-buffer-toggle)
|
||||||
@ -587,6 +588,14 @@ Org-roam is a plain-text knowledge management system. It brings some of Roam's m
|
|||||||
("C-c n j" . org-roam-dailies-capture-today))
|
("C-c n j" . org-roam-dailies-capture-today))
|
||||||
:config
|
:config
|
||||||
;; If you're using a vertical completion framework, you might want a more informative completion interface
|
;; If you're using a vertical completion framework, you might want a more informative completion interface
|
||||||
|
(setq org-roam-capture-templates
|
||||||
|
'(("d" "default" plain "%?"
|
||||||
|
:target (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
|
||||||
|
:unnarrowed t)
|
||||||
|
("p" "Programming Project" plain
|
||||||
|
(file "~/Notes/Templates/ProgrammingProject.org")
|
||||||
|
:target (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
|
||||||
|
:unnarrowed t)))
|
||||||
(setq org-roam-node-display-template (concat "${title:*} " (propertize "${tags:10}" 'face 'org-tag)))
|
(setq org-roam-node-display-template (concat "${title:*} " (propertize "${tags:10}" 'face 'org-tag)))
|
||||||
(org-roam-db-autosync-mode))
|
(org-roam-db-autosync-mode))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
Loading…
x
Reference in New Issue
Block a user