Added vimwiki with config

This commit is contained in:
Michael Mandl 2020-10-23 11:52:05 +02:00
parent 2feda9afa3
commit 3637ce1f94
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7

View file

@ -42,6 +42,8 @@ Plug 'alfredodeza/pytest.vim'
Plug 'cespare/vim-toml'
Plug 'vimwiki/vimwiki'
Plug 'git@gitlab.softwareparadies.de:IDE/swp-vim.git'
call plug#end()
@ -171,6 +173,14 @@ augroup color_column
autocmd Filetype cpp,python set colorcolumn=101
augroup end
" format on save
augroup auto_format
autocmd BufWritePre *.py,*.rs :call LanguageClient#textDocument_formatting_sync()
augroup end
" vimwiki
let g:vimwiki_list = [
\ {'name': 'personal', 'path': '~/vimwiki/personal'},
\ {'name': 'swp', 'path': '~/vimwiki/swp'}
\ ]