I am trying to bind my keys in such a way that if I press d
, then a number, and then c
it deletes that number of characters, like d
, number, l
would do.
So for example if I press d5c
it would do d5l
. I could just bind all combinations, but then it would not work for for example d15c
.
What would be the best way to do this?
( I am running nvim btw, may that help )