Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Thu Jul 28, 2011 11:13 am Post subject: |
|
|
Code: |
" PYTHON VIM stuff
augroup PyShebang
autocmd BufNewFile *.py
\0put = '#!/usr/bin/env python' |
\1put = '#-*- coding: utf-8 -*-' |
\ $put = '' |
\ $put = '' |
\ $put = '# vim: set et sts=4 sw=4 ts=4 tw=120:' |
augroup END
autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class
autocmd BufReadPost *.py source H:\vimfiles\plugin\python_fold.vimx
|
I have that in my vimrc file _________________
Quote: | Removed by Chiitoo |
|
|