summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteph Enders <steph@senders.io>2023-04-11 08:08:49 -0400
committerSteph Enders <steph@senders.io>2023-04-11 08:08:49 -0400
commite75603cd134624a7ee63fda933df60563fa55480 (patch)
treed1e1debc14fd2b5536fc52956e9c9c45016eb22f
parentd5ed12b4abf29e38c33a25de75aee912d154a9b6 (diff)
Add yaml mode and remove unneeded roam typesorg-roammain
-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)