diff options
author | Jackson Taylor <jtaylor@classicalconversations.com> | 2023-05-11 11:09:04 -0400 |
---|---|---|
committer | Jackson Taylor <jtaylor@classicalconversations.com> | 2023-05-11 11:09:04 -0400 |
commit | 97607fb3b0e8bc73c6317d28abb9cf92804ed7a9 (patch) | |
tree | 61bd107e9c83592fa2bc07409c2c2891c0ddd9ac | |
parent | 0a259dcf8e1f09b032b1b8847363c2fdb0a02039 (diff) |
Split out personal and work vim wiki instances
Originally I had my personal one inside of my work one. And I store my
work one on our work servers, so I had to ignore my personal one and use
a separate git repo inside of it. It was not elegant. Now I just have 2
separate ones and commit and use them each as I please.
-rw-r--r-- | lua/jacksontaylorxyz/packer.lua | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/lua/jacksontaylorxyz/packer.lua b/lua/jacksontaylorxyz/packer.lua index 3678940..1b99e89 100644 --- a/lua/jacksontaylorxyz/packer.lua +++ b/lua/jacksontaylorxyz/packer.lua @@ -37,7 +37,25 @@ return require('packer').startup(function(use) use 'APZelos/blamer.nvim' -- Shows who changed the line last -- Different vim modes - use 'vimwiki/vimwiki' -- Diary and wiki suite + use { + 'vimwiki/vimwiki', -- Diary and wiki suite + config = function() + vim.g.vimwiki_list = { + { + path = '~/vimwiki/work/', + path_html = '~/vimwiki/work/html', + syntax = 'default', + ext = '.wiki' + }, + { + path = '~/vimwiki/personal/', + path_html = '~/vimwiki/personal/html', + syntax = 'default', + ext = '.wiki' + } + } + end + } -- Fancy stuff use 'vim-airline/vim-airline' -- Fancy status bar |