Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Undofile not being created when using just "SudoWrite" #3

Closed
blueyed opened this Issue · 2 comments

2 participants

Daniel Hahler chrisbra
Daniel Hahler
  1. Start vim and verify that undofile and undodir are setup
  2. Add some contents to the new buffer
  3. :SudoWrite foo
  4. exit vim

"foo" is missing from the undodir - no history has been written.

You need to trigger a regular write (using :w for example) for the undofile being generated.

chrisbra
Owner

Thanks for reporting. Should be fixed with revision: adfb6dd

Daniel Hahler

Yes, appears to work now.
Thanks.

Daniel Hahler blueyed closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.