Skip to content

Instantly share code, notes, and snippets.

@bodokaiser
Created May 4, 2013 07:47
Show Gist options
  • Save bodokaiser/5516701 to your computer and use it in GitHub Desktop.
Save bodokaiser/5516701 to your computer and use it in GitHub Desktop.
This is my vimrc file which enables syntax, column ruler, four spaces auto-indent on all files except for html where I use two spaces.
syntax on
filetype plugin indent on
:set nu
:set cc=80
:set smartindent
:set tabstop=4
:set shiftwidth=4
:set expandtab
autocmd FileType html set tabstop=2 | set shiftwidth=2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment