Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add persistent undo #1782

Open
Tobbe opened this issue May 30, 2017 · 9 comments
Open

Add persistent undo #1782

Tobbe opened this issue May 30, 2017 · 9 comments

Comments

@Tobbe
Copy link

Tobbe commented May 30, 2017

  • 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 馃槂

@Chillee
Copy link
Member

Chillee commented Jun 6, 2017

I'm not sure this is actually possible. Does VSCode allow extensions to persist data in this fashion?

@rebornix @johnfn @xconverge

@johnfn
Copy link
Member

johnfn commented Jun 6, 2017

You can always save to a file somewhere right?

@aliev
Copy link

aliev commented Feb 2, 2018

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

@tuxflo
Copy link

tuxflo commented May 17, 2019

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?

@haifengkao
Copy link
Contributor

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

@iansinnott
Copy link

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.

@dbanks12
Copy link

Any progress on this?

@garrisonz
Copy link

I am also looking for this feature....

@musjj
Copy link

musjj commented May 5, 2024

Persistent undos would be a lifesaver. This is one of the features that I most sorely miss from vim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants