Created
December 1, 2012 02:09
-
-
Save bswinnerton/4180178 to your computer and use it in GitHub Desktop.
My .vimrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 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