mirror of
https://codeberg.org/diginaut/dotfiles.git
synced 2026-02-04 07:40:27 +01:00
Compare commits
2 Commits
28dbd2d064
...
4b99c54002
| Author | SHA1 | Date | |
|---|---|---|---|
| 4b99c54002 | |||
| 6c600f6483 |
16
.vimrc
16
.vimrc
@@ -414,6 +414,22 @@ Plug 'aquatix/mdnav', { 'branch': 'fixes' }
|
||||
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
|
||||
" many filetypes.
|
||||
Plug 'preservim/nerdcommenter'
|
||||
|
||||
Reference in New Issue
Block a user