Tuesday, August 11, 2009

Smarter visual highlight in VIM

I know one can expand a visual highlight using

"vw" or "ve"

But it doesn't work if you wanna highlight between underscored words.

Eg.
this_is_made_up_of_underscored_words

So to expand highlight use the following

'this_is_made'
"v/_" then cycle thru with "n"

No comments:

Blog Archive