Skip to content

Instantly share code, notes, and snippets.

@kl
Created November 6, 2013 12:49
Show Gist options
  • Save kl/7335563 to your computer and use it in GitHub Desktop.
Save kl/7335563 to your computer and use it in GitHub Desktop.
vimrc
execute pathogen#infect()
autocmd vimenter * if !argc() | NERDTree | endif
set expandtab
set hidden
set number
set shiftwidth=2
set softtabstop=2
filetype indent on
autocmd FileType javascript,html,css,ruby,xml,xsl call SetOptions()
function SetOptions()
colorscheme gentooish
setlocal shiftwidth=2 softtabstop=2
endfunction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment