ts_repeat_move.builtin_f breaks dt / df
LeonB opened this issue · comments
Whenever I enable this code from the documentation:
-- Optionally, make builtin f, F, t, T also repeatable with ; and ,
vim.keymap.set({ "n", "x", "o" }, "f", ts_repeat_move.builtin_f)
vim.keymap.set({ "n", "x", "o" }, "F", ts_repeat_move.builtin_F)
vim.keymap.set({ "n", "x", "o" }, "t", ts_repeat_move.builtin_t)
vim.keymap.set({ "n", "x", "o" }, "T", ts_repeat_move.builtin_T)
fr
+ ;;;;;;
works but breaks dtr
+ .....
When I push .
it seems to wait for another key input.
When I disable above config, ]m
+ ;;;;;;
doesn't work anymore.
So the builtin_
methods seem to break the repeat behaviour of at least d
and c
.
OK. Learned something new. Removed the mapmode-o
mapping and now it works like I expected.