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

Adding counts? #11

Open
LFDM opened this issue Feb 14, 2014 · 2 comments
Open

Adding counts? #11

LFDM opened this issue Feb 14, 2014 · 2 comments

Comments

@LFDM
Copy link
Contributor

LFDM commented Feb 14, 2014

Do you think it would be possible to add a count to submode mappings? I think this would be a very valuable addition - and probably not hard to do (don't make the submode leave when a number key is pressed and use v:count1 in the mappings itself?)

I am currently writing a very simplistic plugin that uses submodes to map more complex movement commands on the home row for easier access. Would be hndy to have the possibility to trigger them with counts as well.

@kana
Copy link
Owner

kana commented Feb 14, 2014

It might be possible, but I think it's a bit hard job due to the internal of submode. v:count is not available while waiting more keys in a submode.

@LFDM
Copy link
Contributor Author

LFDM commented Feb 14, 2014

I see, hmmm, I'll play around with it when I have the time, maybe I can find a way. Thanks for the response!

@LFDM LFDM mentioned this issue Feb 15, 2014
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

2 participants