-
Notifications
You must be signed in to change notification settings - Fork 246
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
Strange undo behavior #40
Comments
This should be resolved in #22. Could you make sure that you're using the latest version of the plugin? |
Hi, I am noticing in my gundo plugin undo history that there are now large amounts of empty undo changes. From what it looks like when we move a multi-select in "normal mode", all the scripting that goes on seems to inject many many undo states. Awesome awesome plugin by the way. |
how about making use of this: https://github.com/tpope/vim-repeat |
@FunTimeCoding Are you suggesting that vim-repeat might address the problem with the creation of too many undo states? (I have my doubts...) |
yes, when multiple steps get grouped as one action the multiple cursors plugin does - this allows to undo them in one action? |
what are your doubts? |
if you think it'll work, by all means! I don't use this plugin anymore,
|
do you have anything similar? |
On my Macbook I have gone back to sublime (but now using Vintage mode). Sublime has a much more capable JSON configuration system for bindings, which actually allow you to configure a finite state machine in the editor. This means any behavior and state transition system you may want is possible there. That's off topic, of course, because multiple cursors is a primary feature of ST. For regular vim use which is what I exclusively use at my day job, I usually use a combination of
|
I see. well thank you. Im just trying to get more into ninja plugins like this one to see if it can actually be applied usefully (by me). |
Yes, I totally dont mean to knock on this Vim plugin! It is marvelous and about as ninja as Vim plugins can get, so much kudos are in order for @terryma for sure. It's just that if something isn't rock-stable for me I'm gonna settle for something else. There are a ton of different vim builds. It's probably even a problem with my setup. shrug |
After selecting some words with Control-n and typing c followed by some letters and hitting ESCAPE, typing u will only undo one letter at a time. Instead, it should probably undo the entire editing operation at once (perhaps using undo blocks?). Also, when the undo operation completes, the cursor should return to where the editing operation first began.
Many thanks for a great plugin!
The text was updated successfully, but these errors were encountered: