diff options
| author | Fabian <58243358+FabianPaci@users.noreply.github.com> | 2022-01-28 09:16:37 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-27 22:16:37 +0000 |
| commit | 786cee9303fb434d37f5949c31eeb083eb178369 (patch) | |
| tree | 07c7fbc338a8f963e43b1470a5f37fe7e439eed2 | |
| parent | 07df38c057f397015d49f263d26b69d0e7837ced (diff) | |
| download | eibhear-786cee9303fb434d37f5949c31eeb083eb178369.tar.gz eibhear-786cee9303fb434d37f5949c31eeb083eb178369.tar.zst eibhear-786cee9303fb434d37f5949c31eeb083eb178369.zip | |
vimwiki chages (#1068)
changed path to `.config` instead of `~` to avoid a messy `~`. Also added a carriage return to the `VimwikiIndex` map.
| -rw-r--r-- | .config/nvim/init.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index e32b8eb..6a96208 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -96,8 +96,8 @@ set noshowcmd " Ensure files are read as what I want: let g:vimwiki_ext2syntax = {'.Rmd': 'markdown', '.rmd': 'markdown','.md': 'markdown', '.markdown': 'markdown', '.mdown': 'markdown'} - map <leader>v :VimwikiIndex - let g:vimwiki_list = [{'path': '~/vimwiki', 'syntax': 'markdown', 'ext': '.md'}] + map <leader>v :VimwikiIndex<CR> + let g:vimwiki_list = [{'path': '.config/nvim/vimwiki', 'syntax': 'markdown', 'ext': '.md'}] autocmd BufRead,BufNewFile /tmp/calcurse*,~/.calcurse/notes/* set filetype=markdown autocmd BufRead,BufNewFile *.ms,*.me,*.mom,*.man set filetype=groff autocmd BufRead,BufNewFile *.tex set filetype=tex |
