On Wed, August 21, 2013 19:29, Charles Campbell wrote: >> On Tuesday, August 20, 2013 5:36:00 PM UTC-5, John Little wrote: >> I really wish 'undolevels' were not a global option, but it is, >> so LargeFile messing with it is not very good when using the same Vim
There is a patch pending, making 'undolevels' buffer-local. Unfortunately, Bram hasn't included it yet. > I think I can get a copy of the undo situation with undotree(). Is > there a way to restore it? I'm thinking of doing a save-undo ... work > with large file ... restore undo scenario. No. There are only two ways handling this. If you don't really change the buffer, you can disable the undo and later :rundo the existing undofiles. Or you can work with a copy of the buffer and only write the changed copy back. The NrrwRgn plugin might be helpful with this. Both ways are usually not really workable in practice. regards, Christian -- -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
