Reindent the current line
==
Example
Normal 0 / 2Operator pending 1 / 2Normal 2 / 2{
one
two
}
keepCursor on line 2, column 3{
one
two
}
keepCursor on line 2, column 3{
one
two
}
keepCursor on line 2, column 3Recalculate the line’s indentation.
Waiting for motion or text object
Recalculate the line’s indentation
Before & after
{
one
two
}
keepCursor on line 2, column 3{
one
two
}
keepCursor on line 2, column 3Start in Normal mode. C indentation is enabled with expandtab and shiftwidth=2.
Details & Vim help
Example replayed in Vim
Recalculate the line’s indentation.
The = operator uses equalprg when configured, otherwise Vim’s indentation rules. This adjusts indentation; it is not general prose wrapping.