How do I indent a single line multiple times in vi or vim? March 12, 2023 by Tarik Select what you want (typically with v or Shift+v) then type 5>. If you need to fix or repeat the same selection, use gv.