Is your feature request related to a problem? Please describe.
First, thanks for a very useful plugin.
My problem should be a pretty common one. Modified function keys are numbered as if they were in higher ranges, i.e.,
Shift+{F1-F12} = F13-F24Ctrl+{F1-F12} = F25-F36Ctrl+Shift+{F1-F12} = F37-48Alt+{F1-F12} = F49-F60
When I have a key mapped to Ctrl+F2, for example, it shows in WhichKey as <F26> which is not informative. I have an override in the config ['<F26>'] = '<Ctrl+F2>', but this has to be done for each key individually and it would obviously be much nicer to be able to supply a range.
Describe the solution you'd like
WhichKey should implicitly label <F13> as <S-F1>, etc., or support some way to specify ranges in the key_labels overrides.
Describe alternatives you've considered
It's obviously possible to just manually override all the key_labels in the range.
Did you check the docs?
Is your feature request related to a problem? Please describe.
First, thanks for a very useful plugin.
My problem should be a pretty common one. Modified function keys are numbered as if they were in higher ranges, i.e.,
Shift+{F1-F12} = F13-F24
Ctrl+{F1-F12} = F25-F36
Ctrl+Shift+{F1-F12} = F37-48
Alt+{F1-F12} = F49-F60
When I have a key mapped to
Ctrl+F2
, for example, it shows in WhichKey as<F26>
which is not informative. I have an override in the config['<F26>'] = '<Ctrl+F2>'
, but this has to be done for each key individually and it would obviously be much nicer to be able to supply a range.Describe the solution you'd like
WhichKey should implicitly label
<F13>
as<S-F1>
, etc., or support some way to specify ranges in thekey_labels
overrides.Describe alternatives you've considered
It's obviously possible to just manually override all the
key_labels
in the range.Additional context
I'd actually like to use
Ctrl+
rather thanC-
(and alsoAlt+
rather thanM-
); this is already filed as #222.