Reselect in vim

May 13, 2012

If you have a block of text selected in vim, and you move off of it and want to reselect it, you can simply hit

gv

and all the text you had selected previously will be re-selected!

Discussion, links, and tweets

I'm a Senior Software Engineer at Heroku

Follow me on Twitter. I rarely post anything but it can't hurt to try.