From 3637ce1f9478af1d8930f46433a862d3d58c6d6b Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Fri, 23 Oct 2020 11:52:05 +0200 Subject: [PATCH] Added vimwiki with config --- nvim/init.vim | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nvim/init.vim b/nvim/init.vim index c7a877e..9133ce8 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -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'} + \ ] +