From 19ab39d2c3f604be737d4363e929cf00dddae4ba Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Thu, 16 May 2024 23:44:12 -0500 Subject: [PATCH] refactor(nvim): use datetree for orgmode captures --- .../.config/nvim/lua/plugins/configs/org-mode.lua | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/users/price/dots/.config/nvim/lua/plugins/configs/org-mode.lua b/users/price/dots/.config/nvim/lua/plugins/configs/org-mode.lua index 49e6ca36..85e5a281 100644 --- a/users/price/dots/.config/nvim/lua/plugins/configs/org-mode.lua +++ b/users/price/dots/.config/nvim/lua/plugins/configs/org-mode.lua @@ -39,18 +39,21 @@ return { org_capture_templates = { t = { description = "Todo", - template = "* TODO %?\n%u", - target = "~/Notes/todo/%<%Y-%m-%d>.org", + template = "* TODO %?\nSCHEDULED: %T", + target = "~/Notes/todo.org", + datetree = true, }, n = { description = "Note", - template = "* %?\n%u", - target = "~/Notes/journal/%<%Y-%m-%d>.org", + template = "* %?", + target = "~/Notes/journal.org", + datetree = true, }, s = { description = "Snippet", - template = "* %? :snippet:\n%u", - target = "~/Notes/snippets/%<%Y-%m-%d>.org", + template = "* %? :snippet:", + target = "~/Notes/snippets.org", + datetree = true, }, }, emacs_config = {