> Sweeeet. Lotta things I didn't know about, should come in handy, tnx! > > Especially the ">}" thing. Man, can't tell you how many times I just > eyeball code and do things like > > 10>> > > whups, make that > > 15>> > > bah, too many... > > 14>> > > Ah, better.
Glad it helped. It's helpful to regularly remind one's self that lots of commands, such as ">" take a motion (":he motion.txt"), and that just about any motion will do. So you can do crazy things like >3L to shift from the current line to the 3 lines before the last line on the screen (":help L", where an irksome bug was fixed in vim7 regarding folds) or >/endblock/- (followed by <enter>) to shift from the current line up through the line before the next match of "endblock". I've had a couple "duh, I never thought to combine operator X with motion Y, and boy is that helpful!" moments. -tim