-1

How can I indent a line by several steps in VIM?
To understand my question, see the example blow:
>> indents the current line by one step. 2>> indents two lines by one step Or V2> indents the current line by two steps.

Is there any way to repeat this action without going into visual mode?

2 Answers2

3

While in normal mode, you can repeat your last keystroke by using the preiod key(.).

0

The answer is: :h shift-left-right