Wednesday, November 6, 2024

Re: Annoying vim problem - again

On Mi, 06 Nov 2024, Riza Dindir wrote:

> Hello Jürgen
>
> I had the undofile and undodir set. I do not know why I set these, but they
> were set.
>
> Why do we need undofile and undodir? As far as I can understand these are for a
> persistent undo mechanism. To be able to undo after rebooting system, or
> quitting the editor and starting it up again.
>
> I think the editor does have unlimited undo capabilities. I would not care for
> a persistent undo mechanism (undoing after rebooting my computer, or even
> quitting the editor then come back and be able to undo), so I have removed
> these settings. Hope this is the problem that I was facing. Thanks to the -V
> flag in vim, I was able to identify it at last.

What Jürgen meant was that you apparently have an undo command in one of
your Vim configuration files. That has nothing to do with the persistent
undo feature. Please see the help at :h persistent-undo for why one may
want to enable this feature.

So please check carefully your configuration. It may also help to verify
that the issues does not happen when starting vim using `vim --clean`.

Thanks,
Christian
--
If you go out of your mind, do it quietly, so as not to disturb those
around you.

--
--
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 visit https://groups.google.com/d/msgid/vim_use/Zys9CQu0PpEn81p/%40256bit.org.

No comments: