VIM and tab to space migration
Graham Dumpleton
grahamd at dscpl.com.au
Sat May 8 04:54:28 EDT 2004
grahamd at dscpl.com.au (Graham Dumpleton) wrote in message news:> I have the following to lines in my .exrc file:
>
> map ^Ktu 1G!Gunexpand -a^M
> map ^Kte 1G!Gexpand^M
>
> The ^K and ^M are the equivalent control characters.
>
> 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.
Whoops, that should read that I type ^Kte and ^Ktu respectively.
More information about the Python-list
mailing list