1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 21:45:10 +01:00

Introducing vimwiki, because it does a lot of stuff I want

This commit is contained in:
2020-02-24 15:42:07 +01:00
parent 28dbd2d064
commit 6c600f6483

15
.vimrc
View File

@@ -414,6 +414,21 @@ Plug 'aquatix/mdnav', { 'branch': 'fixes' }
let g:mdnav#Extensions = '.md, .MD, .markdown, .todo, .txt, .rst' let g:mdnav#Extensions = '.md, .MD, .markdown, .todo, .txt, .rst'
" vimwiki
Plug 'vimwiki/vimwiki'
let wiki_1 = {}
"let wiki_1.path = '~/vimwiki/'
let wiki_1.path = '~/phren/'
let wiki_1.syntax = 'markdown'
let wiki_1.ext = '.md'
let g:vimwiki_list = [wiki_1]
let g:vimwiki_ext2syntax = {'.md': 'markdown', '.markdown': 'markdown', '.mdown': 'markdown'}
let g:vimwiki_global_ext = 0
nmap <leader>wb :VimwikiBacklinks <CR>
" The NERD Commenter: A plugin that allows for easy commenting of code for " The NERD Commenter: A plugin that allows for easy commenting of code for
" many filetypes. " many filetypes.
Plug 'preservim/nerdcommenter' Plug 'preservim/nerdcommenter'