]> git.rmz.io Git - dotfiles.git/blobdiff - vim/vimrc
vim: always mark terminal as bufhidden=hide
[dotfiles.git] / vim / vimrc
index 2fe6f593f4a2110ed402a35c0fca7e411b2af526..6fe4aec04ae7dd25306d91747eb715440754d35d 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -31,12 +31,12 @@ Plugin 'octol/vim-cpp-enhanced-highlight'
 Plugin 'raimondi/delimitmate'
 Plugin 'ram-z/vim-clang-format'
 Plugin 'ram-z/vimwiki'
 Plugin 'raimondi/delimitmate'
 Plugin 'ram-z/vim-clang-format'
 Plugin 'ram-z/vimwiki'
-Plugin 'rdnetto/ycm-generator'
 Plugin 'scrooloose/syntastic'
 Plugin 'sgeb/vim-diff-fold'
 Plugin 'shougo/unite.vim'
 Plugin 'shougo/vimproc.vim'
 Plugin 'sjl/gundo.vim'
 Plugin 'scrooloose/syntastic'
 Plugin 'sgeb/vim-diff-fold'
 Plugin 'shougo/unite.vim'
 Plugin 'shougo/vimproc.vim'
 Plugin 'sjl/gundo.vim'
+Plugin 'thinca/vim-qfreplace'
 Plugin 'tomtom/tcomment_vim'
 Plugin 'tpope/vim-abolish'
 Plugin 'tpope/vim-endwise'
 Plugin 'tomtom/tcomment_vim'
 Plugin 'tpope/vim-abolish'
 Plugin 'tpope/vim-endwise'
@@ -68,7 +68,6 @@ Plugin 'kana/vim-operator-user'
 " find an alternative (latex-box? Automatic Latex Plugin?)
 Plugin 'vim-latex/vim-latex'
 Plugin 'alx741/vinfo'
 " find an alternative (latex-box? Automatic Latex Plugin?)
 Plugin 'vim-latex/vim-latex'
 Plugin 'alx741/vinfo'
-Plugin 'derekwyatt/vim-protodef'
 " needs editing colorscheme
 " Plugin 'jeaye/color_coded'
 " Check LucHermites plugins: https://github.com/LucHermitte/lh-cpp
 " needs editing colorscheme
 " Plugin 'jeaye/color_coded'
 " Check LucHermites plugins: https://github.com/LucHermitte/lh-cpp
@@ -333,6 +332,11 @@ augroup END
 command! NoAutoChecktime let b:autochecktime=0
 command! ToggleAutoChecktime let b:autochecktime=!get(b:, 'autochecktime', 0) | echom "b:autochecktime:" b:autochecktime
 
 command! NoAutoChecktime let b:autochecktime=0
 command! ToggleAutoChecktime let b:autochecktime=!get(b:, 'autochecktime', 0) | echom "b:autochecktime:" b:autochecktime
 
+augroup terminal
+  au!
+  au TerminalOpen * if &buftype == 'terminal' | setlocal bufhidden=hide | endif
+augroup END
+
 " bindings {{{1
 
 " allow both <space> and \ to be <leader>
 " bindings {{{1
 
 " allow both <space> and \ to be <leader>
@@ -602,7 +606,8 @@ let g:tagbar_width = 25
 let g:tagbar_iconchars = ['+', '-']
 
 " tcomments {{{2
 let g:tagbar_iconchars = ['+', '-']
 
 " tcomments {{{2
-let g:tcommentTextObjectInlineComment = 'gic'
+let g:tcomment_textobject_inlinecomment = 'gic'
+let g:tcomment#filetype#guess = 0
 
 " ultisnips {{{2
 let g:UltiSnipsEditSplit = 'vertical'
 
 " ultisnips {{{2
 let g:UltiSnipsEditSplit = 'vertical'
@@ -646,6 +651,8 @@ call unite#custom#profile('default', 'context', {
 nnoremap [unite] <Nop>
 nmap <leader>u [unite]
 nnoremap [unite]u :UniteResume<CR>
 nnoremap [unite] <Nop>
 nmap <leader>u [unite]
 nnoremap [unite]u :UniteResume<CR>
+nnoremap <silent> [u :UnitePrevious<CR>
+nnoremap <silent> ]u :UniteNext<CR>
 
 " unite-grep {{{3
 " seems not respected
 
 " unite-grep {{{3
 " seems not respected
@@ -715,6 +722,7 @@ nmap ga <Plug>(EasyAlign)
 let g:gtest#highlight_failing_tests = 0
 
 nnoremap <Leader>tt :GTestRun<CR>
 let g:gtest#highlight_failing_tests = 0
 
 nnoremap <Leader>tt :GTestRun<CR>
+nnoremap <Leader>ta :GTestCase *<CR>:GTestName *<CR>:GTestRun<CR>
 nnoremap <Leader>tu :GTestRunUnderCursor<CR>
 
 " vim-json {{{2
 nnoremap <Leader>tu :GTestRunUnderCursor<CR>
 
 " vim-json {{{2