Out of curiosity: which plugin are you using for the persistent undo.
I have tried (few years ago) a few but they were quite unsatisfactory and
being something I feel necessary I would like to get advice.
Walter
On Fri, 31 Dec 2021, Bram Moolenaar wrote:
>
> Manfred Lotz wrote:
>
>> I have persistent undo configured and it helped me a lot in various situations
>> over the last 5 or so years.
>>
>> I also have swapfile configured but I am actually not sure if it is really
>> required if persistent undo is active.
>>
>> Any thoughts?
>
> You do need both.
>
> The persistent undo is great to be able to back in time, even when you
> unload the buffer, quit Vim and come back another day. I especially use
> it to add debugging commands, try lots of things, and finally just undo
> the changes. No version control system needed.
>
> The swapfile is a safety net for the unexpected. Vim might crash. I
> know, for normal users this hardly ever happens, still I keep fixing
> crashes all the time (fuzzers try just about any random input to look
> for these problems). Or your computer might die. Hopefully that
> doesn't happen either. But still, it happens when you least expect it.
>
>
--
--
--
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 because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/fdc38d-c242-d1a-fd62-86bad303d3%40di.unimi.it.
Monday, January 3, 2022
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment