vi and python?

William Park parkw at better.net
Wed Jan 26 09:24:30 EST 2000


On Tue, Jan 25, 2000 at 10:17:17PM -0600, Ben Beuchler wrote:
> On Tue, 25 Jan 2000, William Park wrote:
> 
> > This is what I have in ~/.vimrc relevant to *.py.  You can move the
> > global settings to 'au BufRead *.py set ...' if you like.
> 
> It looks like a useful set of settings, from what I've been able to
> interpret...  What is accomplished by the section you mention above?
> 
> Thanks,
> Ben
> -- 
> "There is no spoon"
> 	-- The Matrix

'autocmd' executes its commands when certain condition happens.  Here,
it executes 'set ...' when entering a new buffer (BufRead) with '*.py'
suffix.

If you're interested, I got whole bunch of stuffs for *.html and *.tex.

William




More information about the Python-list mailing list