python用にvimを設定する
pythonのためのvim設定
参考url: http://d.hatena.ne.jp/over80/20090305/1236264851
vim ~/.vimrc
ここに以下を追記
autocmd FileType python setl autoindent autocmd FileType python setl smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class autocmd FileType python setl tabstop=8 expandtab shiftwidth=4 softtabstop=4