Skip to content

Instantly share code, notes, and snippets.

@ravensnowbird
Created September 19, 2014 14:58
Show Gist options
  • Save ravensnowbird/2dea3663d1da884e4058 to your computer and use it in GitHub Desktop.
Save ravensnowbird/2dea3663d1da884e4058 to your computer and use it in GitHub Desktop.
.vimrc
set nocompatible " be iMproved
filetype off " required!
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
set tags=./tags;
set shiftwidth=2
command NE NERDTree
set number
set term=xterm-256color
color codeschool
set guifont=Monaco:h12
" let g:NERDTreeWinPos = "right"
set guioptions-=T " Removes top toolbar
set guioptions-=r " Removes right hand scroll bar
set go-=L " Removes left hand scroll bar
autocmd User Rails let b:surround_{char2nr('-')} = "<% \r %>" " displays <% %> correctly
set cpoptions+=$ " puts a $ marker for the end of words/lines in cw/c$ commands
" let Vundle manage Vundle
" required!
Bundle 'gmarik/vundle'
" My bundles here:
"
" original repos on GitHub
Bundle 'tpope/vim-fugitive'
Bundle 'Lokaltog/vim-easymotion'
Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
Bundle 'tpope/vim-rails.git'
" vim-scripts repos
Bundle 'L9'
Bundle 'FuzzyFinder'
" non-GitHub repos
Bundle 'git://git.wincent.com/command-t.git'
Bundle "scrooloose/nerdtree"
Bundle "tomtom/tlib_vim"
Bundle "MarcWeber/vim-addon-mw-utils"
Bundle "garbas/vim-snipmate"
Bundle "honza/vim-snippets"
Bundle "fishman/ctags"
Bundle "tomtom/tcomment_vim"
Bundle "carlhuda/janus"
Bundle "layflags/vim-find"
Bundle "tpope/vim-ragtag"
Bundle 'KurtPreston/vim-autoformat-rails'
Bundle 'vim-ruby/vim-ruby'
Bundle 'tristen/vim-sparkup'
Bundle 'valloric/MatchTagAlways'
" Git repos on your local machine (i.e. when working on your own plugin)
" Bundle 'file:///Users/gmarik/path/to/plugin'
" ...
filetype plugin indent on " required!
"
" Brief help
" :BundleList - list configured bundles
" :BundleInstall(!) - install (update) bundles
" :BundleSearch(!) foo - search (or refresh cache first) for foo
" :BundleClean(!) - confirm (or auto-approve) removal of unused bundles
"
" see :h vundle for more details or wiki for FAQ
" NOTE: comments after Bundle commands are not allowed.
"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment