nvim-treesitter-textobjects
nvim-treesitter-textobjects copied to clipboard
Number repeat
Is your feature request related to a problem? Please describe.
When I type 2<leader>a
I expect the parameter to be moved twice. It does not.
Describe the solution you'd like To be able to type a number before the keybind and for the function to be repeated that number of times.
Describe alternatives you've considered Record a macro with the movement and then repeat it. This does work.
Would also love this. It would also be nice to have some shortcuts for moving back and forth. The way "," and ";" work for "f" and "F". Now a lot of the movements are impractical as they require a lot of typing. Moving by function is like that. Because there might be a lot of lambdas in front of the target function.
@cristiansofronie Finally the ;
and ,
repeat is implemented. Not yet the number repeat, but you can use a dot repeat which is practical enough.