Closed GijsGroote closed 1 year ago
you could quite easily write a function to which you can pass a table like this and then return it for the plugin spec
so you can do like keys=parse_mappings(the table)
Not interested in having this kind of functionality in lazy
Did you check the docs?
Is your feature request related to a problem? Please describe.
Grouping custom keymappings:
Example with true-zen:
Currently adding 2 keymaps
Could these be grouped? Something like this:
Mainly I want which-key to provide a general name instead of +prefix.
If I overlooked something in the docs and this is already possible, my apologies in advance. Otherwise, I would gladly like this feature, in that case. Thanks in advance.
Describe the solution you'd like
Grouping keys and giving them a general name.
Describe alternatives you've considered
Whichkey has an build en method which is nice:
This does not support lazy loading.
Example in which key config:
Additional context
I am fairly new with lazy (and nvim), take this issue request with grains of salt