aziz / BetterFindBuffer

Adds a couple of missing features to SublimeText 3 Find Results buffer
MIT License
107 stars 31 forks source link

Jump by match instead of by search result #17

Closed kl0tl closed 8 years ago

kl0tl commented 9 years ago

This emulates find_prev and find_next but without relying on the Search Panel’s content. Unlike the current behaviour, find_in_files_jump_match will not jump to the first mention of the search result (Y in Searching X file for "Y") neither will it jump to the first match when the last is selected and vice versa like find_prev and find_next do. The latter is already implemented as an option here. I can make only one pull request for both features or wait for this one to be merged first as you prefer.

Fixes #16.

aziz commented 9 years ago

Thanks @Kl0tl for all these awesome PR. could you merge your cycle feature to this branch so that I can merge them together. BTW, I can give you push access if you're interested. It seems that you know enough about this package already to take it further.

kl0tl commented 9 years ago

Thank you @aziz for this package :)

I’ll merge the cycle option into this PR (better naming than wrap btw, I’ll change it). Should it be True by default or added to the keybindings to preserve the behavior of find_prev and find_next ?

I’ll be very interested in having push access, would be easier to tinker with #12 that way.

excetara2 commented 8 years ago

Was this ever integrated? I was having problems with j and k working so figured this might fix it.