Hallo, Chris McCormick hat gesagt: // Chris McCormick wrote:
On Sat, Jan 03, 2009 at 01:48:11PM -0800, Miller Puckette wrote: A bit OT, but if you're using vi, a quick and painless way to reformat between all-tabs or all-spaces is the following:
:0,$s/ /\t/g <- converts 4 spaces to a tab :0,$s/\t/ /g <- converts a tab to 4 spaces
In Vim you can also use the :retab command. The manual contains an example for automating things.
Ciao