Hacker News new | ask | show | jobs
by endospore 65 days ago
It's more persistent than a session but that's it; (n)vim itself resets it from time to time as long as the file is changed without a edit in vim.

For example applying the recover file (well it's a huge pitfall in vim on its own) resets not only the current undo history but also the "persistent" one.

1 comments

they use "autoread" to work around that (but it requires vim to be running and the given file open if I understand correctly)

https://infosec.exchange/@david_chisnall/117172481079439378