On Jan 5, 3:53 am, gbog <[email protected]> wrote:
> Hi dear vimers,
>
> I'm loosing undo history when opening multiple files split windows in
> vim (with :sp). I think I loose the history when I'm leaving one file
> to go to another.

Hmmm... Do you mean when you :e a different file? Because that's
normal.

> It seems I do not loose it when I stay in same
> window and switch buffer (with :b).

This also seems normal. It seems like you're trying to open too many
files in split windows. I'd recommend not more than two split panes
per window [it just gets too cramped].

Try using :tabe <file> to open new files and using the key command
"gt" to switch between them.

If that doesn't work, try checking the value of the number of undo
levels (:set ul) and consider increasing it.

>
> Is there an option to change somewhere or something the like? Reliable
> undo history in vim is vital for us. (I do most of debugging like
> this: flood the file with dirty echoes, find the offending line, undo
> everything and fix.)
>
> Thanks for your help.
>
> Guillaume
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to