Debian で vim

なんか知らないうちに vim がいろいろとすごいことになってた。

というわけで、debianpythonvim の設定

おっきい vim のインストール

apt-get install vim-nox

python用のをいろいろ取ってきて入れる

http://d.hatena.ne.jp/eco31/20091011/1255262793
すごいよ、ほんとすごいよ

自分用、コピペ .vimrc

syntax on

" python
filetype plugin on
autocmd FileType python let g:pydiction_location = '~/.vim/pydiction/complete-dict'
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 expandtab tabstop=4 shiftwidth=4 softtabstop=4

"Execute python script C-P
function! s:ExecPy()
    exe "!" . &ft . " %"
    :endfunction
    command! Exec call ExecPy()
    autocmd FileType python map   :call ExecPy()

ひさびさにいろいろいじると、世の中に取り残されてることに気づいた。
転職しよう。。