diff options
author | Jackson Taylor <jtaylor@classicalconversations.com> | 2024-02-08 11:25:01 -0500 |
---|---|---|
committer | Jackson Taylor <jtaylor@classicalconversations.com> | 2024-02-08 11:25:01 -0500 |
commit | d8b82fd32d5cb980581654d04c3177eb1a7a225d (patch) | |
tree | 5ff78fd9400fa8550f1f5868c030d746a1fcabc5 | |
parent | 658548f21385e1f4547734f29e2be70de1eb8374 (diff) |
-rw-r--r-- | after/plugin/calendar.lua | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/after/plugin/calendar.lua b/after/plugin/calendar.lua new file mode 100644 index 0000000..ae68c23 --- /dev/null +++ b/after/plugin/calendar.lua @@ -0,0 +1,21 @@ +-- I thought it would. If I try to open today's journal, I would like to be able +-- to pick which vimwiki it's for, but it defaults to my personal one. This does not work how +-- I thought it would work, I thought this would force it to use the first in this list. +vim.g.calendar_diary_list = { + { + name = 'Work', + path = '$HOME/vimwiki/work/diary', + ext = '.md' + }, + { + name = 'Personal', + path = '$HOME/vimwiki/personal/diary', + ext = '.md' + }, +} + +-- Disable the mappings the calendar plugin already has. I have my own. +vim.g.calendar_no_mappings = 0 + +-- Shows the week numbers off to the side like: WK 1 +vim.g.calendar_weeknm = 2 |