X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/616103d92a628d6b9d050a80272e28ca0552ecc2..079c4cc7f0122c10bc93fa70ea50499b0d87f0d4:/vim/vimrc?ds=inline diff --git a/vim/vimrc b/vim/vimrc index b4d3a3e..8a89f32 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -31,7 +31,6 @@ Plugin 'octol/vim-cpp-enhanced-highlight' 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' @@ -68,7 +67,6 @@ Plugin 'kana/vim-operator-user' " 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 @@ -646,6 +644,8 @@ call unite#custom#profile('default', 'context', { nnoremap [unite] nmap u [unite] nnoremap [unite]u :UniteResume +nnoremap [u :UnitePrevious +nnoremap ]u :UniteNext " unite-grep {{{3 " seems not respected @@ -657,6 +657,7 @@ if executable('ag') let g:unite_source_grep_recursive_opt = '' end nnoremap [unite]a :Unite grep:.:: +nnoremap [unite]A :Unite grep:.:-w: command! -nargs=1 Ag Unite grep:.:: " unite-file_rec {{{3 @@ -714,6 +715,7 @@ nmap ga (EasyAlign) let g:gtest#highlight_failing_tests = 0 nnoremap tt :GTestRun +nnoremap ta :GTestCase *:GTestName *:GTestRun nnoremap tu :GTestRunUnderCursor " vim-json {{{2 @@ -839,8 +841,8 @@ function! FindGitDirOrHome() endif endfunction command! Cd cd %:h -command! Cr execute('cd ' . FindGitDirOrHome()) +command! Cdr execute('cd ' . FindGitDirOrHome()) command! LCd lcd %:h -command! LCr execute('lcd ' . FindGitDirOrHome()) +command! LCdr execute('lcd ' . FindGitDirOrHome()) " vim:set et sw=2 ts=2 tw=78: