2009-09-13から1日間の記事一覧

Re: VimのPython向け設定 - climpyの日記

vim

~/.vimrc に autocmd BufRead,BufNewFile *.py syntax on autocmd BufRead,BufNewFile *.py set ai autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,with,try,except,finally,def,class を追記、これで構文強調表示と自動字下げが設…