X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/6476ca3e3327290d312d124fcf96c1b1e65f3f85..671c510388c6a0ac6e29edfd6f52440a379d0e74:/vimrc diff --git a/vimrc b/vimrc index b81dae2..2a52c96 100644 --- a/vimrc +++ b/vimrc @@ -3,10 +3,24 @@ " Author: Samir Benmendil " -filetype plugin indent on +filetype off +set rtp+=~/.vim/bundle/vundle/ +call vundle#rc() + +Bundle 'gmarik/vundle' +Bundle 'wincent/Command-T' +Bundle 'bling/vim-airline' +Bundle 'ctrlp.vim' +Bundle 'fugitive.vim' +Bundle 'Gundo' +Bundle 'The-NERD-tree' +Bundle 'surround.vim' +Bundle 'Syntastic' +Bundle 'Tagbar' +Bundle 'tComment' +Bundle 'Valloric/YouCompleteMe' -" pathogen.vim runtime path manipulation -silent! call pathogen#infect() +filetype plugin indent on " moving around, searching and patterns {{{1 set incsearch " show match for partly typed search command @@ -20,6 +34,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:, ...