summaryrefslogtreecommitdiff
path: root/.emacs.d/packages.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/packages.el')
-rw-r--r--.emacs.d/packages.el13
1 files changed, 4 insertions, 9 deletions
diff --git a/.emacs.d/packages.el b/.emacs.d/packages.el
index e4c932c..0ccd9f8 100644
--- a/.emacs.d/packages.el
+++ b/.emacs.d/packages.el
@@ -14,6 +14,9 @@
(straight-use-package '(moe-theme :host github
:repo "kuanyui/moe-theme.el"
:branch "master"))
+(straight-use-package '(yaml-mode :host github
+ :repo "yoshiki/yaml-mode"
+ :branch "master"))
;; org-roam setup (may justify it's own config at this point)
(use-package org-roam
@@ -26,20 +29,12 @@
'(("d" "default" plain "\n\n* ${title} *\n\n%?"
:if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n#+date: %U\n")
: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#+date:%U\n")
- :unarrowed t)
- ("m" "MOC" plain
- "%?"
+ ("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)