J. Erik Heinz wrote:
Hi,
Dimitar <[EMAIL PROTECTED]> words
        on 24.03.2007 - 10:08 (+0100 Zulu-Time):

* Vigil <[EMAIL PROTECTED]> [070323 22:20]:
When a file is saved with :w, any changes in the undo history are lost and I can't undo things to get back to a state before I saved the file.
It happens sometimes to me too. However I cannot reproduce it.

At the moment my vim has this behaviour as well. And this occurs when
I start vim without any configuration files ( I moved .vimrc and .vim,
so that vim dont source it anymore by default) Especually the .vim is
important.
At the moment my .vim holds very little configuration files, and as it
seems not the configuration that makes the undo work nicly ( or better
remember the older undo's after :w )

From my point of view, it must be a general configuration setting that
is missing.

Cheers -- Erik  


Without a .vimrc, Vim will start in 'compatible' mode, unless you include the -N command-line switch. This means that a second undo is actually a redo: u u is a do-nothing operation.


Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
136. You decide to stay in a low-paying job teaching just for the
     free Internet access.

Reply via email to