X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/35ca5caca774eb5ea517156aebdd4e95a5129d8f..4322868924b51e28d1e5d0cd48043a09bee6b60e:/vimrc diff --git a/vimrc b/vimrc index 7844cbb..a9040f1 100644 --- a/vimrc +++ b/vimrc @@ -5,6 +5,9 @@ filetype plugin indent on +" pathogen.vim runtime path manipulation +silent! call pathogen#infect() + " moving around, searching and patterns {{{1 set incsearch " show match for partly typed search command set ignorecase " ignore case when using a search pattern @@ -17,6 +20,15 @@ nmap n :silent nohl 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:, ... @@ -185,8 +197,6 @@ set virtualedit=block " let cursor move past last char in mode set viminfo='100,<50,s10,h,n~/.vim/viminfo " viminfo defaults but save file in .vim " plugins {{{1 -silent! call pathogen#infect() " pathogen.vim runtime path manipulation - " airline {{{2 let g:airline_detect_whitespace=2 let g:airline_whitespace_symbol = 'Ξ' @@ -232,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.