You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered: