On Thursday, February 23, 2017 at 6:10:27 PM UTC+2, Ben Fritz wrote:
> Assuming this is reliably repeatable, before performing the :w command that would create the undo file, do this to see what undolevels is and which script last changed it:
>
> :verbose set undolevels?
0. empty buffer:
undolevels=1000
1. I save an empty buffer with :saveas file.sec command: no undo file present
undolevels=-1
Last set from ~/.vimrc
2. I add text and save this now named buffer with :write command: undo file appears
undolevels=-1
Last set from ~/.vimrc
3. I add more text and save this buffer again with :write command: undo file disappears.
undolevels=-1
Last set from ~/.vimrc
That flashing undo file looks like this: http://i.imgur.com/84Dt8g8.png
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thursday, February 23, 2017
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment