X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/c0b598b6e64399bf684b6ff0e2cc4adae2c479f2..b5766e6efe39b6aa6f4b2f7e5afbf55e8f4c8762:/vim/vimrc?ds=inline diff --git a/vim/vimrc b/vim/vimrc index de47d4c..2fe8780 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -71,6 +71,8 @@ Plugin 'alx741/vinfo' Plugin 'derekwyatt/vim-protodef' Plugin 'ram-z/vim-clang-format' Plugin 'sgeb/vim-diff-fold' +Plugin 'tpope/vim-vinegar' +Plugin 'vimwiki/vimwiki' " needs editing colorscheme " Plugin 'jeaye/color_coded' " Check LucHermites plugins: https://github.com/LucHermitte/lh-cpp @@ -208,8 +210,8 @@ set foldlevelstart=0 " value for 'foldlevel' when starting to edit a " open folds when jumping to line set foldopen+=jump -" save and restore folds -set viewoptions=cursor " only save cursor position +set viewoptions=cursor " save cursor position +set viewoptions+=folds " save folds " diff mode {{{2 set diffopt+=filler " show filler lines @@ -554,7 +556,7 @@ let g:pymode_rope = 0 let g:pymode_run = 0 let g:pymode_folding = 1 let g:pymode_lint_ignore = "E221,E266,E501" -let g:pymode_lint_cwindow = 0 " don't open cwindow when linting +let g:pymode_lint_cwindow = 1 " don't open cwindow when linting let g:pymode_syntax_space_errors = 0 " don't bother me when I'm typing " signature {{{2 @@ -734,6 +736,11 @@ xmap T Sneak_T omap t Sneak_t omap T Sneak_T +" vim-wiki {{{2 +let default_wiki = {} +let default_wiki.path = '~/wiki' +let g:vimwiki_list = [default_wiki] + " functions {{{1 " Convenient command to see the difference between the current buffer and the