Last active
December 19, 2015 23:09
-
-
Save dayne/6032940 to your computer and use it in GitHub Desktop.
.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
syntax on | |
set softtabstop=2 | |
set shiftwidth=2 | |
set tabstop=2 | |
set expandtab | |
set background=dark | |
set t_Co=256 " 256 colors | |
"show the line numbers on the side. allow for lots of lines" | |
set number | |
set numberwidth=5 | |
"spaces, not tabs. I'm done with that fight" | |
autocmd BufRead,BufNewFile *.feature set sw=4 sts=4 et | |
"for ruby auto indent with 2 spaces and auto expand tabs | |
autocmd FileType ruby,haml,eruby,yaml set ai sw=2 sts=2 et |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment