On 1 Apr, 16:56, Tim Chase <[email protected]> wrote:
> Reckoner wrote:
> > when I have buffers open and I switch between them, I have noticed
> > that I lose the ability to undo changes in these buffers. In other
> > words, doing 'u' does not undo changes if that buffer has been
> > switched out of recently.
>
> Do you have 'hidden' set?
>
>    :set hidden
>
> This should preserve your undo history.

I have autowriteall set. I tried setting hidden and although it does
preserve undo history it no longer automatically saves the buffer
when I move away from it. Is there a way to have hidden set and
preserve automatic saving without defining my own
autocommand ?

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to