Search code examples
vimideindentationvineovim

How can I indent a line by several steps in VIM?


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?


Solution

  • The answer is: :h shift-left-right