I often select a region in visual mode for properly indenting it. However, after pressing for example 3>
, visual mode exits and the selection disappears.
How can I re-select the previously selected region, so that I may further edit it?
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.
Sign up to join this communityIf I get you right it is gv
.
You can also remap >
and <
:
xnoremap > >gv
xnoremap < <gv