Vim indent

Updated: 23 January 2026

Insert mode, add one shiftwidth of indent

CTRL-T

Insert mode, delete one shiftwidth of indent

CTRL-D

Indent file, top to bottom

gg=G

Leave a comment