2

Like doing >> but 5 times >>>>>>>>>>>>.

I am not trying to indent multiple lines.

3

You can use :>. Just repeat > as many times as you want to shift. For example if you want to shift 5 times use :>>>>>. Personally I would just use >> and then repeat the command with the . (repeat) command.

For more help see:

:h :>
:h >>
:h .
4

As an addition to Peter Rincker's answer, you can also enter visual-line mode (Shift+v) and use > with a count. Unlike in normal mode, the count is used to specify how many shiftwidths to indent.

If you prefer the comfort of giving a hard count, this is the only option that I'm aware of outside of a plugin or custom function.

1

Press shift-v to visually select the line, or block of lines.

Then in normal mode press

10>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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