Why must I be the owner of a file I’m editing in order for persistent undo to work?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Why must I be the owner of a file I’m editing in order for persistent undo to work?

DwigtArmyOfChampions
I’m using Vim 7.4. I can’t see my old changes on a file because I’m not the owner of the file. Why does this requirement exist and there a way to work around 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/98649ad4-487f-4cf0-93ec-808f4cb57923%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Why must I be the owner of a file I???m editing in order for persistent undo to work?

trialero
On Sun, Jan 19, 2020 at 08:11:32AM -0800, DwigtArmyOfChampions wrote:
> I???m using Vim 7.4. I can???t see my old changes on a file because I???m not the owner of the file. Why does this requirement exist and there a way to work around it?

in Vim, the persistent undo and with it all changes to a file are
personal setting. the information is AFAIK not stored in the file
itself. when the ownership of the file changed from you to someone else,
the meta information of that file probably changed as well.

did you try to make you owner of the file, if that resolves the issue? I
don't know if this can be done in Vim, but any file manager will make it
possible.

//meine

--
--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20200125115358.GA4951%40trackstand.