How do I cycle through numbered registers to find a previous deletion?
"1pu.u.u.
Vim stores the last 9 deletions in numbered registers 1-9, with the most recent in register 1.
"1pu.u.u.
Vim stores the last 9 deletions in numbered registers 1-9, with the most recent in register 1.
:set undofile undodir=~/.vim/undodir
By default, Vim's undo history is lost when you close a file.
set undofile undodir=~/.vim/undo//
Enable undofile and set undodir to persist undo history to disk.