mlsamuelson.com

Indent in Vim

V
# select lines to indent using j or k
=

auto-magically indents selected code

5>>

indents 5 lines once, starting with the line the cursor is on

V
# select lines to indent using j or k
3<

unindent the selected code 3 times

Find Me Around

User login