Skip to content

Instantly share code, notes, and snippets.

@tobiasmcnulty
Created July 3, 2015 21:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tobiasmcnulty/86a63c1e89b97734a6af to your computer and use it in GitHub Desktop.
Save tobiasmcnulty/86a63c1e89b97734a6af to your computer and use it in GitHub Desktop.
vimrc
" 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