vi and python?

Stefan Schwarzer s.schwarzer at ndh.net
Wed Jan 26 04:12:58 EST 2000


Hello Ben,

Ben Beuchler schrieb:
> Sounds good.  This may sound like a stupid question, but is there a way to
> have it only use these options with .py files?  I haven't done too much
> yet with customizing vim...

Read the help text on autocommands:
:help autocmd.txt

One thing to consider is to undo the changes you made on (e. g.)
BufEnter for your *.py files. "Undo" is probably difficult or at least
tedious if you want exactly the settings that you had before, not
only a kind of default set.

Stefan



More information about the Python-list mailing list