Created
April 17, 2011 15:10
-
-
Save gmarik/924106 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on | |
set nocompatible " Unset compatibility with VI, it's 2011! | |
set wildmenu | |
set wildmode=list:longest " make cmdline tab completion similar to bash | |
set backup " Activate backup stuff | |
set backupdir=~/.vim/backup | |
set directory=~/.vim/tmp | |
set showmatch " Show matching brackets | |
set ignorecase " Do case insensitive matching | |
set ruler | |
set number | |
set nowrap | |
set tabstop=2 " Set tabstop | |
set shiftwidth=2 " Set shiftwidth | |
set expandtab | |
set winaltkeys=no " Enable Alt- keychain | |
map <F10> :NERDTreeToggle<CR> " Key to open NERDTree in commands mode | |
map <F12> :Gblame<CR> " Open git blame | |
imap <F10> <Esc>:NERDTreeToggle<CR> " Key to open NERDTree in insert mode | |
set gfn=Bitstream\ Vera\ Sans\ Mono\ 9 | |
colorscheme railscasts | |
filetype off | |
set rtp+=~/.vim/vundle.git/ | |
call vundle#rc() | |
" Railscasts theme | |
Bundle 'jpo/vim-railscasts-theme' | |
" Command-T | |
Bundle 'wincent/Command-T' | |
" NERDTree | |
Bundle 'scrooloose/nerdtree' | |
" ACK for vim | |
Bundle 'mileszs/ack.vim' | |
" vim-rails | |
Bundle 'tpope/vim-rails' | |
" vim-fugivitve (git) | |
Bundle 'tpope/vim-fugitive' | |
" vim-cucumber | |
Bundle 'tpope/vim-cucumber' | |
" vim-bufexplorer | |
Bundle 'slack/vim-bufexplorer' | |
" tcomment | |
Bundle 'tomtom/tcomment_vim' | |
filetype plugin indent on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment