Created
July 3, 2015 21:25
-
-
Save tobiasmcnulty/86a63c1e89b97734a6af 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
" Needed on some linux distros. | |
" see http://www.adamlowe.me/2009/12/vim-destroys-all-other-rails-editors.html | |
filetype off | |
"call pathogen#helptags() | |
"call pathogen#runtime_append_all_bundles() | |
syntax enable | |
"set background=dark | |
"colorscheme solarized | |
au BufNewFile,BufRead *.py call s:py_settings() | |
function! s:py_settings() | |
set tabstop=4 | |
set softtabstop=4 | |
set shiftwidth=4 | |
set smarttab | |
set expandtab | |
set autoindent | |
set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class | |
endfun |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment