diff options
-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 |