-
Notifications
You must be signed in to change notification settings - Fork 205
feature: assign separate highlight to buffer-local keymaps #905
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
Comments
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Comment for the bot |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Don't |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Don't |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Don't |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
still not? |
the most useless + annoying bot ever 🤦🏻 |
Uh oh!
There was an error while loading. Please reload this page.
Did you check the docs?
Is your feature request related to a problem? Please describe.
While groups and keymaps are easily distinguishable by the icon for groups and simply having different highlight groups, buffer-local and global keymaps do get the same highlight group
WhichKeyDesc
, and are thus not distinguishable.(here, the first one is buffer local to markdown files)
Describe the solution you'd like
Assign a separate highlight group to buffer local keymaps.
(I'd even argue that distinguishing buffer-local and global keymaps is valuable enough, that they should by default have different colors, but that's probably a different question.)
Describe alternatives you've considered
The only two mechanisms for differentiating buffer-local keymaps from global ones are the sorting and
require("which-key").show({ global = false })
. While they technically work, they are rather inconvenient methods for checking if a mapping is buffer-local.Additional context
No response
The text was updated successfully, but these errors were encountered: