-
Notifications
You must be signed in to change notification settings - Fork 714
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
[REQUEST] Add "right hand side" mapping to :debug mappings
#5152
Comments
I've got the right hand side printing with the Kakoune
Here's the change so far dontlaugh@039544d debug mappings output
We want the |
I guess # This works
map global normal x <minus>blorp
# This fails with "unknown option '-blorp'"
map global normal x -blorp It's not necessary in other circumstances, but at least it's unambiguous, and it might be preferable than trying to teach |
Interesting. It is certainly a possibility to use the non-named (non-canonical) versions So I think that would be a fine workaround. An alternative is to preserve the input sequence (store it separately from the parsed version). I think your change is good but overall there are limits to what Maybe the LSP plugin should stop pre-defining mappings. |
I agree that teaching |
Feature
Currently, when you run
:debug mappings
it prints something like the following to the*debug*
buffer.This is the corresponding kakscript mapping from my config
Here is the output that could be better:
Adding the right hand side to
:debug mappings
would tell me not only that a mapping was changed, but what it was changed to.For mappings to more complex commands, perhaps we introduce quotes. So this kakscript mapping
...becomes this output in
*debug*
This is a small, specific change spawned from the larger discussion in #5150
The text was updated successfully, but these errors were encountered: