haya14busa / vim-easymotion

DEPRECATED
https://github.com/Lokaltog/vim-easymotion
23 stars 0 forks source link

How to do bidirectional 'to' jump #6

Closed majkinetor closed 10 years ago

majkinetor commented 10 years ago

is there anything like easy-motion-bd-t ?

haya14busa commented 10 years ago

There aren't any such motion now because It's hard to implement.(pull requests are welcome :-) However, I also wanted to implement easymotion-bd-t, so I'll try to implement it in the future.

majkinetor commented 10 years ago

Got me curious now when you say it is hard to implement. Isn't it just already implemented s with additional l or h move depending on the cursor location ?

haya14busa commented 10 years ago

Easymotion t & T is not implemented the way you said and it has some problem(marker or label position, handling operator-pending, etc).

Well, but I think it's possible to implement it with different way, so please wait a little.

majkinetor commented 10 years ago

Its not a big deal, really. Just thought it would be great for the sake of completeness.

You did a great job merging all various features from other similar plugins.

Thanks for your work.

On Tue, Jan 21, 2014 at 1:50 AM, haya14busa notifications@github.comwrote:

Easymotion t & T is not implemented the way you said and it has some problem(marker or label position, handling operator-pending, etc).

Well, but I think it's possible to implement it with different way, so please wait a little.

— Reply to this email directly or view it on GitHubhttps://github.com/haya14busa/vim-easymotion/issues/6#issuecomment-32811801 .

haya14busa commented 10 years ago

You did a great job merging all various features from other similar plugins.

Thanks! :smile:

I implemented bidirectional 't' motion. (including handling operator-pending mode)

Please update and see it.

majkinetor commented 10 years ago

Very nice. Works good!

Thanks for quick update.

Offtopic, for the sake of consistency, why don't u name s as bd-f ? Its kinda confusing now. I had to recheck few times documentation.

haya14busa commented 10 years ago

Offtopic, for the sake of consistency, why don't u name s as bd-f ? Its kinda confusing now. I had to recheck few times documentation.

Yeah, I agree. I also think it's confusing. But completely rename 's' as 'bd-f' breaks backward compatibility, so at least I'll add some description the position bd-f should be in help doc and add reference tag or something to easymotion-s

Thanks