Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make commands repeatable #90

Open
mawkler opened this issue Jan 31, 2021 · 3 comments
Open

Make commands repeatable #90

mawkler opened this issue Jan 31, 2021 · 3 comments

Comments

@mawkler
Copy link

mawkler commented Jan 31, 2021

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 .

@harshad1
Copy link
Collaborator

harshad1 commented Jun 8, 2021

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?

@mawkler
Copy link
Author

mawkler commented Jun 14, 2021

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 :)

@linduxed
Copy link

linduxed commented Jul 10, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants