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 tried digging around in the help to find supporting documentation, but couldn't find anything (looking in undo.txt, windows.txt, or editing.txt). The closest I was able to find was at :help bunload where it nebulously describes "The memory allocated for this buffer will be freed. The buffer remains in the buffer list." This freed memory seems to include undo-history. You may want to read up on the peculiarities of 'hidden' :help 'hidden' :help abandon Hope this helps, -tim --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
