From e75603cd134624a7ee63fda933df60563fa55480 Mon Sep 17 00:00:00 2001 From: Steph Enders Date: Tue, 11 Apr 2023 08:08:49 -0400 Subject: Add yaml mode and remove unneeded roam types --- .emacs.d/packages.el | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to '.emacs.d') 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) -- cgit v1.2.3-54-g00ecf