wrapper functions which can be used to define count prefixed, dot repeatable keymaps#69
wrapper functions which can be used to define count prefixed, dot repeatable keymaps#69tummetott wants to merge 1 commit intomizlan:masterfrom
Conversation
…ot repeatable keymaps
|
Is there a way to make setting up a dot-repeatable keymap easier than this? It seems like there still is a bit of boilerplate for the user when configuring this way. |
|
I'm only aware of two methods getting dot repetition. One is using See this link The implemented version with |
|
understood, thanks! Can I put the operatorfunc bit into my plugin as opposed to the user putting it into their configuration. |
|
Yes that would be possible. I can make a PR for this next week. |
|
thanks! i would appreciate that a lot. i'm not super familiar with operatorfunc |
The added wrapper functions can be used in keymaps like following:
The resulting keymaps are dot repeatable and can be prefixed with [count].
Examples:
2[s,]scloses #68