summaryrefslogtreecommitdiff
path: root/after/plugin/calendar.lua
blob: ae68c230727f7cad9b7543279d5861c61ecad9da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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