Skip to content

Instantly share code, notes, and snippets.

@bswinnerton
Created December 1, 2012 02:09
Show Gist options
  • Save bswinnerton/4180178 to your computer and use it in GitHub Desktop.
Save bswinnerton/4180178 to your computer and use it in GitHub Desktop.
My .vimrc
" use syntax highlighting
syntax on
" make backspace do what it should
set backspace=eol,start,indent
" set tab = 4 spaces
set expandtab
set sw=4
set sts=4
set ts=4
" set tab = 2 spaces if ruby file
autocmd Filetype ruby setlocal ts=2 sts=2 sw=2
" fix splitting from opening in the wrong place
set splitright
set splitbelow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment