Skip to content

Instantly share code, notes, and snippets.

@aninder
Created March 25, 2013 00:49
Show Gist options
  • Save aninder/5234254 to your computer and use it in GitHub Desktop.
Save aninder/5234254 to your computer and use it in GitHub Desktop.
my .vimrc
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'vim-ruby/vim-ruby'
Bundle 'skalnik/vim-vroom'
Bundle 'vim-scripts/L9'
Bundle 'vim-scripts/FuzzyFinder'
Bundle 'vim-scripts/rubycomplete.vim'
Bundle 'ervandew/supertab'
Bundle 'scrooloose/nerdtree'
" 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 command are not allowed..
":highlight Pmenu guibg=brown gui=bold
:highlight Pmenu ctermbg=238 gui=bold
set nocompatible " We're running Vim, not Vi!
syntax on " Enable syntax highlighting
filetype on " Enable filetype detection
filetype indent on " Enable filetype-specific indenting
filetype plugin on " Enable filetype-specific plugins
set expandtab
set tabstop=2 shiftwidth=2 softtabstop=2
if has("autocmd")
autocmd FileType ruby set omnifunc=rubycomplete#Complete
autocmd FileType ruby compiler ruby
autocmd FileType ruby let g:rubycomplete_buffer_loading=1
autocmd FileType ruby let g:rubycomplete_classes_in_global=1
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment