]> git.rmz.io Git - dotfiles.git/blobdiff - vimrc
add myum.unimaas.nl
[dotfiles.git] / vimrc
diff --git a/vimrc b/vimrc
index 94c32a8e17e5fb81ba7ba33e16f3b1295335daa1..b81dae2ba7b243f6fe0e5fe8ef21f0706855324b 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -18,6 +18,8 @@ set hlsearch                    " highlight all matches for the last used search
 nmap <silent> <Leader>n :silent nohl<CR>
 " use leader-# to display the number of matches for the last search
 nmap <Leader># :%s:<C-R>/::gn<CR>
+" 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.