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

blueyed opened this Issue Nov 11, 2011 · 2 comments


None yet

2 participants

blueyed commented Nov 11, 2011
  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.


Thanks for reporting. Should be fixed with revision: adfb6dd

blueyed commented Dec 5, 2011

Yes, appears to work now.

@blueyed blueyed closed this Dec 5, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment