Skip to content

Instantly share code, notes, and snippets.

@adamwiggins
Created May 13, 2009 03:19
Show Gist options
  • Save adamwiggins/110856 to your computer and use it in GitHub Desktop.
Save adamwiggins/110856 to your computer and use it in GitHub Desktop.
syntax on
set ts=3 sw=3 si
set hlsearch
set backspace=indent,eol,start
command Rubytabs set tabstop=2 smarttab shiftwidth=2 autoindent expandtab backspace=start,indent
command Regtabs set ts=3 sw=3 noexpandtab
" save last position in file
autocmd BufReadPost *
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "normal g`\"" |
\ endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment