-
Notifications
You must be signed in to change notification settings - Fork 40
Implement keymapping helpers #222
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
base: master
Are you sure you want to change the base?
Conversation
Resolves #221.
42f5959 to
904530d
Compare
malcolmr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Sorry for the long delay!
| " does one thing immediately and then a different follow-up behavior on another | ||
| " keystroke. | ||
| " | ||
| " For example, this defines a mapping that immediately unfolds one level but |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm really surprised that this works, but we have tests, so sgtm!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, actually it looks like I had a typo in the args there I just fixed.
ff454c7 to
0fa264a
Compare
|
I'd held off on merging this PR for a while because
I'm still looking into those, but went ahead and submitted some fixes and resolved review comments while I'm looking at it. |
Implements maktaba helpers for programmatically managing vim key mappings (as in the
:mapcommand) inmaktaba#keymapping#andmaktaba#keymappingspec#.Usage examples:
See keymapping.vroom and
:help maktaba.KeyMappingfor details.Resolves #221.