]> git.rmz.io Git - dotfiles.git/blobdiff - vim/vimrc
Backup UH
[dotfiles.git] / vim / vimrc
index b9acfe67e767d0e14f51345613bbff7a46b1eb93..e763b5d465624a795b4907092b1ff667d939af38 100644 (file)
--- 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<bang> <args>
 
 " bindings {{{1
 
@@ -564,6 +567,7 @@ nnoremap <silent> <C-W>ck :CloseAboveWindow<CR>
 
 " 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 <silent> <leader>y :SyntasticCheck<cr>
 
+let g:syntastic_cpp_clang_tidy_post_args = "-p build*"
+
 if ! &diff
   let g:syntastic_check_on_open=1
 endif