X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/e5d7e78f09fdaad72aea931b18487328d4509297..51d50d3d902bdda4345c042f68aa67c13b65d3fc:/vim/vimrc diff --git a/vim/vimrc b/vim/vimrc index 65242d4..e125596 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -58,6 +58,7 @@ Plugin 'ompugao/ctrlp-ros' " Plugin 'jalcine/cmake.vim' " Plugin 'powerman/vim-plugin-viewdoc' +" staging " find an alternative (latex-box? Automatic Latex Plugin?) Plugin 'http://git.code.sf.net/p/vim-latex/vim-latex' " Plugin 'lokaltog/vim-easymotion' @@ -65,7 +66,10 @@ Plugin 'justinmk/vim-sneak' Plugin 'chrisbra/checkattach' Plugin 'nathanaelkane/vim-indent-guides' Plugin 'alx741/vinfo' +Plugin 'octol/vim-cpp-enhanced-highlight' Plugin 'vim-scripts/mediawiki.vim' +Plugin 'vim-scripts/replacewithregister' +Plugin 'tpope/vim-abolish' " remove entries first set runtimepath -=$HOME/.vim @@ -314,13 +318,12 @@ nmap # :%s:/::gn " center cursor after search and open folds nnoremap n nzzzv nnoremap N Nzzzv -nnoremap ^O ^Ozzzv -nnoremap ^I ^Izzzv " same when jumping around nnoremap g; g;zzzv nnoremap g, g,zzzv nnoremap zzzv +nnoremap zzzv " Not using the default mappings of 'To line from top/bottom' noremap H ^ @@ -424,8 +427,12 @@ let g:delimitMate_expand_space = 1 nnoremap ff :FSHere nnoremap fl :FSRight nnoremap fh :FSLeft +nnoremap fj :FSBelow +nnoremap fk :FSAbove nnoremap fL :FSSplitRight nnoremap fH :FSSplitLeft +nnoremap fJ :FSSplitBelow +nnoremap fK :FSSplitAbove " fugitive {{{2 nmap dd :tab split \| Gdiff \| wincmd h @@ -536,6 +543,7 @@ if executable('ag') let g:unite_source_grep_recursive_opt = '' end nnoremap [unite]a :Unite grep -input= +command! -nargs=1 Ag Unite grep -input= " unite-file_rec {{{3 if executable('ag')