-
Notifications
You must be signed in to change notification settings - Fork 88
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
Restore cursor position after cancelling streak-mode #34
Comments
So, return to the first match, or return to the original point of invocation? |
The original point of invocation. |
@adambiggs Ok, but what if the cursor is at the desired position after Note that you can always return to the point of invocation via My feeling is that it is better to assume that if the user took some action (such as Try it for a week and see if you still dislike the current behavior. Thanks for the report! |
Good point, maybe Not a big deal either way, using Great work on this plugin! Only been using it for an hour, and already thinking of getting rid of EasyMotion. |
Glad you like it! There are still some rough edges with the "easymotion" mode, so if something sucks, it will probably be fixed soon. Two things that cannot ever be fixed (except by patching Vim):
This is because instead of temporarily editing the buffer (as easymotion does), streak-mode uses Vim's "conceal" feature, which is much faster (and it doesn't edit the text, which always bothered me about easymotion). |
Don't think this is a problem! EM does the same thing for text that contains navigation hooks, so usually more than half the screen is B&W when entering EM. Didn't even notice till you mentioned it :)
Can you explain this a bit more? I don't notice this behaviour. |
@adambiggs Try it in any help file to see the effect. I have an idea how it could be mitigated, but wanted to wait to see how much it really bothered anyone. Plus it could actually be regarded as a feature, since it makes it clear what characters are actually present in the text, which affects the match results. |
Ah I see what you mean now. Doesn't bother me! 🍔 |
If you enter streak mode, press
Tab
, then exit without making a selection, the cursor stays at the position you tabbed to.It would be more intuitive if the cursor jumped back to the original position before entering streak mode.
The text was updated successfully, but these errors were encountered: