X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/be41ad77073a424ccf4d795cb01cf7af784f7d39..c25ea7dac0e72e001e9424e52c17d6db19d9f0e5:/vimrc diff --git a/vimrc b/vimrc index 94c32a8..b81dae2 100644 --- a/vimrc +++ b/vimrc @@ -18,6 +18,8 @@ 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 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 +233,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.