Home
Undo and redo
In normal mode:
u
: to undo
ctrl+r
: to redo
https://linuxize.com/post/vim-undo-redo/