tednaleid / sublime-EasyMotion

Sublime Text 2 plugin to quickly jump to any character in the visible area of the active view.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jump to after the character?

chenglou opened this issue · comments

(Related to #27?)
Here's the current situation:

  • select jump:
    • backward: jump to before char
    • forward: jump to after char
  • normal jump:
    • backward: jump to before char
    • forward: jump to before char

I was wondering the rationale behind the last case. My brain refuses to learn that easymotion jumps to before the chosen character. Thanks!

Does it work for you this way with the very latest code? As you guessed, this is the same as #27 and should have been fixed 2 weeks ago.

The behavior of the normal jump should always be after the character now (both backwards and forwards) as this is what people are asking for.

The select jump goes before the character when selecting backwards because the normal use case here is to select a bunch of words before your current position and you normally pick the first character in a word in this situation.

Can you ensure that you're on the very latest code and let me know if you're still seeing this behavior? If so, can you give me details about the exact version of the plugin and ST that you're on?

ST3, installed from Package Control, on OS X Maverick.
Just tried manual install. Still the same behavior.

Ah, that's it. The fix I've got is only on the main ST2 branch. I've been waiting for ST3 to actually get out of beta (sort of assuming it's abandonware at this point) before I spend too much time on getting the plugin 100% working there. Currently only has experimental support there. I'll leave this open as a marker for an issue on the ST3 version of the plugin.

Ah, thanks! Btw ST3 is far from abandonware afaik. They seem to have a high bar for beta =).

I hope you're right. The beta has been going on for longer than a year now and had a bunch of releases early, but only a single release in the last 8 months. I'd love to be wrong on this as ST3 is my favorite editor.

Are there any updates on adding this jump to after character behavior to the ST3 build? I considered adding it myself in the python file, but cannot figure out exactly which method to change. Was hoping I could add a simple "+1" somewhere.

ST3 has been in beta for 2 years now with very few releases/updates. At this point, I think it's abandonware and haven't been using it for a few months now. I'm not planning on doing any updates to easy motion till they release a new version and show that it's a platform worth developing for.

I'd be happy to accept/merge a PR if someone else who has an interest in ST3 would like to take the time to figure it out.

This is relevant to my interests.

+1 I need this behavior to ST3 !