Skip to content

Instantly share code, notes, and snippets.

@wayneseymour
Created March 20, 2014 12:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wayneseymour/9662434 to your computer and use it in GitHub Desktop.
Save wayneseymour/9662434 to your computer and use it in GitHub Desktop.
set nocompatible " be iMproved
filetype off " required!
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" 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'
" vim-javascript
Bundle "pangloss/vim-javascript"
Bundle 'nathanaelkane/vim-indent-guides'
Bundle 'Raimondi/delimitMate'
Bundle 'scrooloose/syntastic'
let g:syntastic_check_on_open=1
Bundle 'tomasr/molokai'
" ...
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.
syntax on
set nu
" Monokai-like theme
colorscheme molokai
" Default to soft tabs, 2 spaces
set expandtab
set sw=2
set sts=2
let javaScript_fold=1 " JavaScript
" Reindent on load
autocmd FileType * normal! gg=G
" Reindent on save
autocmd BufWritePre normal! gg=G
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment