X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/00642b3f71b6954bad7843da371ece6985f04d41..refs/heads/uh-backup:/vim/vimrc diff --git a/vim/vimrc b/vim/vimrc index b9acfe6..e763b5d 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -31,6 +31,8 @@ Plug 'majutsushi/tagbar' Plug 'octol/vim-cpp-enhanced-highlight' Plug 'raimondi/delimitmate' Plug 'ram-z/vim-clang-format', { 'branch': 'fix-undo' } +" fix some issue with vim-clang-format not finding .clang-format +let g:clang_format#detect_style_file = 1 Plug 'vimwiki/vimwiki', { 'branch': 'dev' } Plug 'scrooloose/syntastic' Plug 'sgeb/vim-diff-fold' @@ -47,6 +49,7 @@ Plug 'tpope/vim-repeat' Plug 'tpope/vim-surround' "investigate vim-sandwich Plug 'tpope/vim-unimpaired' Plug 'tweekmonster/spellrotate.vim' +" consider enabling clangd support --clangd-completer, it's possible to use both Plug 'valloric/youcompleteme', { 'do': './install.py --clang-completer' } Plug 'vim-scripts/mediawiki.vim' Plug 'vim-scripts/replacewithregister' @@ -69,10 +72,13 @@ Plug 'kana/vim-operator-user' " find an alternative (latex-box? Automatic Latex Plugin?) Plug 'vim-latex/vim-latex' Plug 'alx741/vinfo' +Plug 'rbong/vim-flog' +" Vim/Python is broken atm +" Plug 'tbabej/taskwiki' " needs editing colorscheme " Plug 'jeaye/color_coded' " Check LucHermites plugins: https://github.com/LucHermitte/lh-cpp -Plug 'wincent/loupe' +" Plug 'wincent/loupe' call plug#end() @@ -333,9 +339,6 @@ augroup terminal au! au TerminalOpen * if &buftype == 'terminal' | setlocal bufhidden=hide | endif augroup END -" vertical split TermDebug -let g:termdebug_wide = 1 -command! -nargs=* -bang -complete=file Debug tabedit % | Termdebug " bindings {{{1 @@ -564,6 +567,7 @@ nnoremap ck :CloseAboveWindow " python-mode {{{2 +let g:pymode = 0 let g:pymode_rope_completion = 0 let g:pymode_rope = 0 let g:pymode_run = 0 @@ -600,6 +604,8 @@ let g:syntastic_style_warning_symbol='S' let g:syntastic_always_populate_loc_list=1 nmap y :SyntasticCheck +let g:syntastic_cpp_clang_tidy_post_args = "-p build*" + if ! &diff let g:syntastic_check_on_open=1 endif