New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repeat last `f` but in opposite direction #1077

Open
akkartik opened this Issue Dec 26, 2016 · 3 comments

Comments

Projects
None yet
4 participants
@akkartik
Contributor

akkartik commented Dec 26, 2016

In Vim you can press ; to repeat the last f, and , to repeat it in the opposite direction. Is there any way to do this in Kakoune? I'm willing to map my own key binding, but I'm not sure how to do it.

@mawww

This comment has been minimized.

Show comment
Hide comment
@mawww

mawww Dec 27, 2016

Owner

We dont have any support for that, and I dont think its worth adding that feature. I wonder if we have the necessery hooks to capture the key hit on f or t, store it in an option/register, and then exec the reverse search on a mapping.

Owner

mawww commented Dec 27, 2016

We dont have any support for that, and I dont think its worth adding that feature. I wonder if we have the necessery hooks to capture the key hit on f or t, store it in an option/register, and then exec the reverse search on a mapping.

@lenormf

This comment has been minimized.

Show comment
Hide comment
@lenormf

lenormf Apr 14, 2017

Contributor

I think this issue can be closed.

Contributor

lenormf commented Apr 14, 2017

I think this issue can be closed.

@nedp

This comment has been minimized.

Show comment
Hide comment
@nedp

nedp May 4, 2017

In vim, having , available lets you quickly cycle through matches with ;. Not having an equivalent means I now need to think carefully about each <a-.>, otherwise I might have to repeat the original f but in the opposite direction, which is slow.

#898 is more than sufficient for this issue I think.

nedp commented May 4, 2017

In vim, having , available lets you quickly cycle through matches with ;. Not having an equivalent means I now need to think carefully about each <a-.>, otherwise I might have to repeat the original f but in the opposite direction, which is slow.

#898 is more than sufficient for this issue I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment