You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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: