From d493c593255906caed49bf66a6b75a3fce057041 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 26 Mar 2022 00:28:04 +0100 Subject: feat(orgmode): add new templates --- lua/config/orgmode.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lua/config') diff --git a/lua/config/orgmode.lua b/lua/config/orgmode.lua index 82dac48..a7054dd 100644 --- a/lua/config/orgmode.lua +++ b/lua/config/orgmode.lua @@ -9,4 +9,12 @@ orgmode.setup_ts_grammar() orgmode.setup { org_agenda_files = { "~/.local/share/org/**/*" }, org_default_notes_file = "~/.local/share/org/refile.org", + org_agenda_templates = { + t = { description = "Task", template = "* TODO %?\n %u" }, + m = { + description = "Meeting", + template = "* MEETING %? :MEETING:\n:LOGBOOK:\nCLOCK: %U\n:END:", + }, + n = { description = "Note", template = "* NOTE %? :NOTE:%?\n %u" }, + }, } -- cgit v1.2.3-70-g09d2