diff options
Diffstat (limited to '.emacs.d/packages.el')
-rw-r--r-- | .emacs.d/packages.el | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/.emacs.d/packages.el b/.emacs.d/packages.el index fdf53b4..e4c932c 100644 --- a/.emacs.d/packages.el +++ b/.emacs.d/packages.el @@ -28,11 +28,25 @@ :unnarrowed t) ("w" "doc" plain "\n\n* ${title} *\n\n[[%^{Url}][${title} Link]]\n\n** TODO Review Doc DEADLINE: %^t **\n\n" - :if-new (file+head "%<%Y%m%d%H%M%S>-docs-${slug}.org" "#+title: ${title}\n") - :unarrowed t))) + :if-new (file+head "%<%Y%m%d%H%M%S>-docs-${slug}.org" "#+title: ${title}\n#+date:%U\n") + :unarrowed t) + ("m" "MOC" plain + "%?" + :if-new (file+head "moc-${slug}.org" "#+title: ${title}\n#+filetags: :MOC:") + :unarrowed t) + ("n" "note" plain "\n\n%?" + :if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n#+date: %U\n#+filetags: :notes:") + :unarrowed t) + ("p" "person" plain "\n\n$?" + :if-new (file+head "person-${slug}.org" "#+title: ${title}\n#+date: %U\n#+filetags: :person:") + :unarrowed t) + )) :bind (("C-c n l" . org-roam-buffer-toggle) ("C-c n f" . org-roam-node-find) ("C-c n i" . org-roam-node-insert) + ("C-c p t" . org-roam-tag-add) + ("C-c p r" . org-roam-ref-add) + ("C-c p a" . org-roam-alias-add) :map org-mode-map ("C-M-i" . completion-at-point) :map org-roam-dailies-map) |