bullets.vim icon indicating copy to clipboard operation
bullets.vim copied to clipboard

Make commands repeatable

Open mawkler opened this issue 4 years ago • 3 comments

Basically no mapping in :h bullets-mappings is repeatable with ., which in my opinion is a core Vim feature. This could for instance be added using the tpope's vim-repeat .

mawkler avatar Jan 31 '21 19:01 mawkler

From vim-repeat's documentation:

Adding support to a plugin is generally as simple as the following command at the end of your map functions.

silent! call repeat#set("\<Plug>MyWonderfulMap", v:count)

Do you know if this works?

harshad1 avatar Jun 08 '21 17:06 harshad1

I haven't tried but I've seen other plugins use it and so I assume that it should work for this plugin as well :)

mawkler avatar Jun 14 '21 21:06 mawkler

Having experimented a bit with the advice given by @harshad1, I did not manage to get it working.

Has anyone else gotten repeating to work?

EDIT: I'm guessing this could be helped by #93.

linduxed avatar Jul 10 '21 09:07 linduxed