skip to content
Alvin Lucillo

Indenting block of text

/ 1 min read

💻 Tech

In Vim, you can select lines of text and indent them altogether:

  • Select the block of text by entering Visual mode (enter V), then press arrow up key/k or arrow down key/j to highlight the lines
  • Press > key to indent the lines once or 5> to indent 5x (change the number to your needs)