Vim
Vim copied to clipboard
Add persistent undo
- Click thumbs-up 👍 on this issue if you want it!
- Click confused 😕 on this issue if not having it makes VSCodeVim unusable.
The VSCodeVim team prioritizes issues based on reaction count.
Is this a BUG REPORT or FEATURE REQUEST? (choose one): Feature request
Please implement persistent undo, like what you get when you have set undofile in vim. Being able to undo in a file even if you've closed it first and then reopened it (even when rebooting between closing and reopening) is very convenient 😃
I'm not sure this is actually possible. Does VSCode allow extensions to persist data in this fashion?
@rebornix @johnfn @xconverge
You can always save to a file somewhere right?
would be great to have this feature!
You can always save to a file somewhere right?
the same in Vim, there is undodir option: https://github.com/aliev/vimrc/blob/master/plugin/vimrc.vim#L118
Persistent undo is one of the best vim/neovim features at all. It would be great to have something like that in VS Code. Since we already have a neovim integration maybe it could be possible to let neovim take care of saving the undofiles?
I think we can make persistent undo by modifying local-history and remap the undo and redo key.
We only need a brave hero to implement it
This feature is so useful and even vital once you start using it that it might make sense if it was implemented in VSCode regardless of plugins. It would be a big win for all VSCode users.
Any progress on this?
I am also looking for this feature....
Persistent undos would be a lifesaver. This is one of the features that I most sorely miss from vim.