Skip to content

Instantly share code, notes, and snippets.

@nielsdoorn
Created December 6, 2013 07:21
Show Gist options
  • Save nielsdoorn/7819869 to your computer and use it in GitHub Desktop.
Save nielsdoorn/7819869 to your computer and use it in GitHub Desktop.
syntax on
set tabstop=2 " The width of a TAB is set to 4.
" Still it is a \t. It is just that
" Vim will interpret it to be having
" a width of 4.
set shiftwidth=2 " Indents will have a width of 4
set softtabstop=2 " Sets the number of columns for a TAB
set expandtab " Expand TABs to spaces
set background=dark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment