Did you know that you can restore the last seletion in vim? See the short screencast:

Steps

  • Select lines with V
  • Go somewhere else e.g with G
  • Press gv

So simple!

This protip has been written in 1897 seconds