4

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?

1 Answer 1

5

If I get you right it is gv.

You can also remap > and <:

xnoremap > >gv
xnoremap < <gv
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.