Skip to content

Instantly share code, notes, and snippets.

@halan
Forked from brennovich/.vimrc
Created April 4, 2013 17:40
Show Gist options
  • Save halan/5312419 to your computer and use it in GitHub Desktop.
Save halan/5312419 to your computer and use it in GitHub Desktop.
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" let Vundle manage Vundle
" required!
Bundle 'gmarik/vundle'
" Plugins
Bundle 'Lokaltog/vim-easymotion'
Bundle 'Lokaltog/vim-powerline'
Bundle 'airblade/vim-gitgutter'
Bundle 'chriskempson/base16-vim'
Bundle 'chriskempson/tomorrow-theme', {'rtp': 'vim/'}
Bundle 'ervandew/supertab'
Bundle 'kchmck/vim-coffee-script'
Bundle 'kien/ctrlp.vim'
Bundle 'mikewest/vimroom'
Bundle 'myusuf3/numbers.vim'
Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
Bundle 'scrooloose/nerdtree'
Bundle 'tpope/vim-fugitive'
Bundle 'tpope/vim-haml'
Bundle 'tpope/vim-rails.git'
" Defaults
filetype plugin indent on
syntax on
set listchars=eol:¬,tab:>–,trail:\•,extends:>,precedes:<
set list
set magic
let mapleader=','
setlocal shiftwidth=2
setlocal tabstop=2
" SuperTab option for context aware completion
let g:SuperTabDefaultCompletionType = 'context'
" Theme
set background=light
colorscheme Tomorrow
" Always show status line
set laststatus=2
" Add some line space for easy reading
set linespace=2
" Disable GitGutter Bar Hightlight
highlight clear SignColumn
" Better NERDTreeToggle
nnoremap <leader>n :NERDTreeToggle<CR>

Install vundle:

git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle

Copy .vimrc:

curl -l https://gist.github.com/brennovich/5310806/raw >> ~/.vimrc

Run Bundle install

vim +BundleInstall +qall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment