VIM and tab to space migration
Steve Lamb
grey at despair.dmiyu.org
Thu May 6 18:56:03 EDT 2004
On 2004-05-06, Graham Dumpleton <grahamd at dscpl.com.au> wrote:
> I then type ^Ke and it will pipe the whole contents of the file being edited
> through "expand" which will turn all tabs into appropriate number of
> spaces. Typing ^Ku does the opposite.
> You could run the "expand" program outside of vi as well as part of a shell
> script and do all your files at the same time.
Couldn't they just also just add a global %s/\t/ /g to the loading of
.py files and be done with it? :)
--
Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
PGP Key: 8B6E99C5 | main connection to the switchboard of souls.
-------------------------------+---------------------------------------------
More information about the Python-list
mailing list