В чт, 2007-05-31 в 22:09 +0200, A.J.Mechelynck написа:
> Виктор Кожухаров wrote:
> > Hi,
> > 
> > Is there a way to retain the undo levels, even when the buffer is not
> > loaded in any windows/tabs?  Right now, whenever I open another file in
> > a window, the previous file loses it's undo levels, even though it is
> > still inside the buffer list.
> 
> I /think/ the undo levels are by buffer. To undo the changes in one buffer, 
> first make that buffer active (e.g. by switching to its window or by 
> ":edit"ing it in the current window).
> 
> If I'm wrong, someone please correct me.
> 
No, if the buffer is no longer in any window, going back to it by
editing the file or selecting the buffer by any means will not bring the
undo levels. pressing 'u' will tell you that you are at the earliest
change. What I'm asking is whether it's possible to make vim remember
the buffer undo levels for each non-deleted buffer while vim is still
open.
> 
> Всего хорошего,
> Тоня.
-- 
Виктор Кожухаров /Viktor Kojouharov/

Attachment: signature.asc
Description: Това е цифрово подписана част от писмото



Reply via email to