1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-02 22:58:01 +00:00
Files
til/vim/previous-visual-selection.md
jbranchaud 511368b084 Fix a typo
2015-04-13 21:22:26 -05:00

8 lines
357 B
Markdown

# Previous Visual Selection
Typing `gv` in normal mode will re-select the previous visual selection.
This makes it easy to re-select a specific block of text. For instance, if
you are performing a search and replace on a visual selection and you didn't
get the regex quite right, you can quickly type `gv` and then edit the regex
of your previous command.