Devlog :: And Wizardry

Tue, 17 Apr 2007

VIM Block Indents - just so I remember...

*In gvim, to bring a block to standard indent level:* Select one of the block boundaries (like { or } For one) and input *=%* One potential problem with this is that this will remove any "non-standard" indenting you might have. On the plus side, it will remove non-standard indenting. *To indent a block one more level:* Select a block boundary and enter *>%* This moves everything over one level, including the non-standard bits. To move every thing in the block except the boundaries, use *>i{* [/items/Devlog] permanent link