0

I want to be able to undo the changes after I did :wq in vim. Is it possible?

I found it always complains "Already at oldest change" when I did u.

Eric
  • 29
  • 2

1 Answers1

2

Quick search in vim's help suggests that the undofile option might be of interest. Look for undo-persistence in the internal help.

Jan Hudec
  • 73,652
  • 13
  • 125
  • 172