Skip to content

Instantly share code, notes, and snippets.

@garindra
Created January 22, 2012 05:01
Show Gist options
  • Save garindra/1655707 to your computer and use it in GitHub Desktop.
Save garindra/1655707 to your computer and use it in GitHub Desktop.
My Vimrc
colorscheme desert
set number
set autoindent
set expandtab
syntax on
set shiftwidth=4
set tabstop=4
set smarttab
set ruler
set lbr
set tw=500
set ai "auto indent
set si "Smart indet
set wrap "Wrap lines
au BufRead,BufNewFile *.scss set filetype=scss
au BufRead,BufNewFile *.less set filetype=less
au BufRead,BufNewFile *.thrift set filetype=thrift
au BufRead,BufNewFile *.json set filetype=javascript
au BufRead,BufNewFile *.yaml set filetype=yaml
set foldmethod=indent
set foldnestmax=10
set nofoldenable
set foldlevel=1
set colorcolumn=80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment