feat(char): add auto-jump/auto-motion option when using labels, closes #183
A naive solution for https://github.com/folke/flash.nvim/issues/183 I've been using locally.
Currently can be enabled by setting autojump to true
modes = {
char = {
jump_labels = true,
jump = {
autojump = true,
},
},
}
Works for me, however, it does not 'reset' the highlighting, i.e. I still see jump labels and the background highlighting after the jump.
Tested this and it works quite well. The backdrop highlight disappears after the auto jump. Can you please consider merging this PR?
any updates on this PR?
Any chance of getting it finally merged?
Done, sorry for the delay!
This doesn't work for operator pending mode when there is only one hit. It still displays the label and you have to press the label to execute.
This doesn't work for operator pending mode when there is only one hit. It still displays the label and you have to press the label to execute.
Unless I am missing something, it works for me for char mode. For example, running df.. If it isn't related to f/t motions it is just a different issue.
-- options used when flash is activated through
-- `f`, `F`, `t`, `T`, `;` and `,` motions