If I'm working in a file, change to another buffer, and then change back, I have lost my undo history.
vim File1.txt- make a bunch of changes & save.- Open new buffer -
:e test.txt - Switch back to File1.txt -
:b# - Undo history is gone.
Any workarounds for this?