Sunday, May 22, 2011

Re: what are the differences among undofile, swap file, and session file?

>Hi yanzhisheng!
>
>On Sa, 21 Mai 2011, yanzhisheng wrote:
>
>> Can somebody can tell me what undofile differs from swap file? and
>> session file. I think session file is very strong! behaves like MATLAB
>> more or less! thanks.
>
>I think the help explains it all. See
>
>:h swap-file
>:h undo-persistence
>:h 21.4
>
>Is there anything unclear, which you'd like to improve?
>
>regards,
>Christian
>--
hi Christian,
I have a question, since there is a swap file for every file
that has been read to VIM, and the all changes such as undo/do
would be recorded in the swap file, why needed another file named
undofile? for persistence undo operation, the developers can also
improve vim to save the swap file, so the undofile is not necessary.
is that okay?
thanks.
>--
>You received this message from the "vim_use" maillist.
>Do not top-post! Type your reply below the text you are replying to.
>For more information, visit http://www.vim.org/maillist.php
>
>

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: