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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please document limitations of redo/undo/repeat #63

Open
jordwalke opened this issue Sep 18, 2012 · 1 comment
Open

Please document limitations of redo/undo/repeat #63

jordwalke opened this issue Sep 18, 2012 · 1 comment

Comments

@jordwalke
Copy link

Most of these kinds of plugins break or ruin one of those features. It's nice to know exactly what features of vim to expect to be broken.

@dag
Copy link

dag commented Jun 14, 2013

In my testing, undo and redo works but the brackets and quotes are considered a separate change. i'hello<Esc>u gives you '' and another u undos both quotes; redoing then gets you the quotes back and another redo gets you 'hello'. Maybe for the same reason, repeat is broken: a'hello'<Esc>. gets you 'hellohello'; ie. the last change is repeated, which with smartinput is only the hello.

Other plugins like vim-autoclose and AutoClose get repeat right but break undo in some cases; specifically I tested adding a newline as part of the change, and it repeated fine, and undo worked, until I undid the last one and I ended up with two empty lines in the buffer, and Vim claiming I was at the oldest change and the [new] buffer was non-modified.

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

No branches or pull requests

2 participants