Undoing in Vim
In some senses, u
is a back button, r
is a forward button, and U
is a cancellation action.
u
undoes any single action (includingU
.)r
redoes the action thatu
undid.U
is a line change cancellation action.
In some senses, u
is a back button, r
is a forward button, and U
is a cancellation action.
u
undoes any single action (including U
.)r
redoes the action that u
undid.U
is a line change cancellation action.