Reselect Your Last Selection in Vim with gv
This is handy in case you forgot to copy something or decide you want to select a few more lines.
Quick Jump:
This behavior is built into Vim. After making your selection you can move
around your file and hit gv
to jump back and select what you had previously.
# Demo Video
Timestamps
- 0:09 – Reselecting the last selection using gv
- 0:36 – I use this a lot to reselect HTML snippets
Reference Links
How often do you do this? Let me know below!