tednaleid / sublime-EasyMotion

Sublime Text 2 plugin to quickly jump to any character in the visible area of the active view.
Apache License 2.0
386 stars 24 forks source link

Make the initial batch be the one closest to cursor #17

Closed joelpt closed 11 years ago

joelpt commented 11 years ago

I think it would be helpful if the initial batch that is shown/active was the batch closest to the cursor position.

Most of the time, the character I want to jump to is within a few lines of my current cursor position, but if I use e.g. Ctrl+; e the topmost batch on the screen is the first one that is active. So I often find myself having to hit Enter until the desired (closest) batch is active in this situation.

tednaleid commented 11 years ago

I've been mulling over what the optimal grouping is for a while now and I think I tend to agree with you after I've used the plugin for a while.

I think that there are 3 main ways that you could do the groupings

More often than not, I want something closer to the current cursor position than top down gives you. I think the 3rd option is likely the best one (but a little more work). I'll see what I can whip up this week on this.

chendo commented 11 years ago

+1 the third option. Right now it's annoying using EasyMotion when you're near the end of the buffer