summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-03-26 00:28:04 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-03-26 00:28:04 +0100
commitd493c593255906caed49bf66a6b75a3fce057041 (patch)
tree45248d6664d2e080d9ec947a4010e1146538120d
parent8ba47813679ccf657658b8b2ea0bfe18fbe4e8f8 (diff)
feat(orgmode): add new templates
-rw-r--r--lua/config/orgmode.lua8
1 files changed, 8 insertions, 0 deletions
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" },
+ },
}