" ~/.vim/ftplugin/vimwiki.vim " vimwiki-specific vim configuration " " Syntastic linter: mdl, proselint, textlint "let g:syntastic_vimwiki_checkers = ['markdown/mdl'] " Tabs hate: tabs are expanded to 2 spaces setlocal tabstop=2 shiftwidth=2 expandtab " Show existing tabs (they can be deleted with :retab) setlocal list " Text width match ColorColumn /\%81v/ setlocal textwidth=80 setlocal linebreak " Syntax highlighting colors highlight Title ctermfg=blue highlight TitleHash ctermfg=cyan match TitleHash /^##*/ setlocal conceallevel=0 let mapleader = " " nnoremap C :sp ~/.vim/ftplugin/vimwiki/vimwiki.vim nnoremap e :Errors nnoremap temp :r ~/.vim/ftplugin/vimwiki/snips/template.txt nnoremap tp :r ~/.vim/ftplugin/vimwiki/snips/plantUml.txt/<+++>cf> nnoremap c :w:!toPDF.sh "%" nnoremap o :w:!toPDF.sh -o "%" let mapleader = "," inoremap h < l >>A