2

It is really annoying, especially when I need to indent more than one level.

1
  • Why was this downvoted? It was a good question.
    – kzh
    Commented Jul 24, 2013 at 21:46

2 Answers 2

4

The following mappings will re-select the visual selection:

:vnoremap > >gv
:vnoremap < <gv

Note that you can also provide a [count] to de-/indent multiple levels at once.

0
2

You can repeat the last un/indent like other changes with the single-repeat command, the dot .. The repeated command spans the same region as before.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .