Skip to content

Instantly share code, notes, and snippets.

@gsf
Created April 2, 2011 20:03
Show Gist options
  • Save gsf/899830 to your computer and use it in GitHub Desktop.
Save gsf/899830 to your computer and use it in GitHub Desktop.
vimrc
if has("autocmd")
filetype plugin indent on
endif
set expandtab
set hidden
set incsearch
set noshowmatch
set showcmd
set smartcase
set smarttab
set sw=4
set ts=4
autocmd FileType css,html,htmldjango,javascript
\ setlocal sw=2 |
\ setlocal ts=2
let loaded_matchparen = 1 " Don't highlight brackets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment