Kakoune: repeat last `f` but in opposite direction

Created on 27 Dec 2016  路  3Comments  路  Source: mawww/kakoune

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.

Most helpful comment

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.

All 3 comments

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.

I think this issue can be closed.

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

a12l picture a12l  路  3Comments

Delapouite picture Delapouite  路  4Comments

lenormf picture lenormf  路  3Comments

Parasrah picture Parasrah  路  4Comments

abitofalchemy picture abitofalchemy  路  3Comments