sublime-EasyMotion icon indicating copy to clipboard operation
sublime-EasyMotion copied to clipboard

Keep shortcuts between searches

Open vlakarados opened this issue 10 years ago • 2 comments

If the buffer didn't change between searches, the last search like in ctrl+; -> k all substituted k letters should be replaced with the same as the previous ones. Maybe alphabetical order depending on the order in the buffer.

When you mistype the letter (rapid typing) it's better to know the letter to press before pressing the search.

Currently when you search multiple times the shortcuts change randomly.

vlakarados avatar Jun 05 '14 07:06 vlakarados

The shortcuts aren't random. They radiate out from your current cursor position, so that the closest thing (by default) is a, then b, etc.

If your cursor position hasn't changed, and you search again for the same target letter, you'll get the same target keys.

Easy Motion is really designed for someone to be looking at the key they want to jump to when they press the key combination, and then the letter pops up and can quickly type the letter that they're now looking at. It's not really designed for people to memorize what targets are on the screen and use that.

tednaleid avatar Jun 05 '14 12:06 tednaleid

Sorry, probably I had a bug and probably it was in my brain. Working just fine but one issue, when pressing the shortcut for the same letter twice, the second time highlights the shortcut from the first highlighting.

vlakarados avatar Jun 06 '14 06:06 vlakarados