[PD-dev] Tcl/Tk code formatting and file organization

Frank Barknecht fbar at footils.org
Mon Jan 5 11:57:42 CET 2009


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
-- 
 Frank Barknecht            Do You RjDj.me?          _ ______footils.org__




More information about the Pd-dev mailing list