Ergonomically select text between parens
Operating on text within parens is pretty straight forward for a regular vim user.
To select: vi(
or vi)
To delete: di(
or di(
But that hand stretch between shift and 9 or shift and 0 is sorta weird. Vim has a built in ergonomic shortcut for this operation though.
To select: vib
To delete: dib
Much easier on the ol' hands.
Picked this trick up watching the terrific Vim Un-Alphabet screencast series.
Tweet