1
0
mirror of https://codeberg.org/diginaut/dotfiles.git synced 2026-02-04 19:20:27 +01:00

Compare commits

..

2 Commits

Author SHA1 Message Date
4b99c54002 Clarifications 2020-02-24 15:43:48 +01:00
6c600f6483 Introducing vimwiki, because it does a lot of stuff I want 2020-02-24 15:42:07 +01:00

16
.vimrc
View File

@@ -414,6 +414,22 @@ 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 = '~/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'}
" Do not use vimwiki magic on non-wiki (markdown) files
let g:vimwiki_global_ext = 0
" Quick way of opening a window with backlinks to the current document
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'