X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/be41ad77073a424ccf4d795cb01cf7af784f7d39..c98211fb6c0bb0b43da2f565cfcb3a51bba99122:/vimrc?ds=sidebyside diff --git a/vimrc b/vimrc index 94c32a8..a9040f1 100644 --- a/vimrc +++ b/vimrc @@ -18,6 +18,17 @@ set hlsearch " highlight all matches for the last used search nmap n :silent nohl " use leader-# to display the number of matches for the last search nmap # :%s:/::gn +" center cursor after search +nnoremap n nzz +" disable arrows +inoremap +inoremap +inoremap +inoremap +noremap +noremap +noremap +noremap set nostartofline " don't move the cursor to the first non-blank char of a line set path=.,** " current + subdirectory search for :find, :grep:, ... @@ -231,6 +242,9 @@ let g:tagbar_autoshowtag = 1 let g:tagbar_width = 25 let g:tagbar_iconchars = ['+', '-'] +" YouCompleteMe {{{2 +let g:ycm_extra_conf_globlist = ['/mnt/data/src/*'] + " functions {{{1 " Convenient command to see the difference between the current buffer and the " file it was loaded from, thus the changes you made.