]> git.rmz.io Git - dotfiles.git/blobdiff - vimrc
autostart ncmpcpp
[dotfiles.git] / vimrc
diff --git a/vimrc b/vimrc
index b81dae2ba7b243f6fe0e5fe8ef21f0706855324b..2a52c969ba24ae42fdfa86c5de69139c78af9564 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -3,10 +3,24 @@
 " Author:   Samir Benmendil <samir.benmendil[at]gmail[dot]com>
 "
 
-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 <silent> <Leader>n :silent nohl<CR>
 nmap <Leader># :%s:<C-R>/::gn<CR>
 " center cursor after search
 nnoremap n nzz
+" disable arrows
+inoremap <Up> <NOP>
+inoremap <Down> <NOP>
+inoremap <Left> <NOP>
+inoremap <Right> <NOP>
+noremap <Up> <NOP>
+noremap <Down> <NOP>
+noremap <Left> <NOP>
+noremap <Right> <NOP>
 
 set nostartofline       " don't  move the cursor to the first non-blank char of a line
 set path=.,**           " current + subdirectory search for :find, :grep:, ...