2 ms·
Vim also has persistent undo. Check out the options: undofile undodir These will cause vim to store all file histories into files within that director
by chongli 8y ago
Vim also has persistent undo. Check out the options:
undofile
undodir
These will cause vim to store all file histories into files within that directory. Now you can close and reopen vim and continue undoing as much as you want!
- marcoperaza 8y agoDo you know if there’s a way to make “normal undo” stop at the beginning of the current session, then have some special command or confirmation that I indeed want to move further back? I almost never want to undo past the current session, but occasionally I do.