-
Notifications
You must be signed in to change notification settings - Fork 39
Description
Feature request
Add option, to control if the keys binginds are gathered together in OSD as:
Control + x, Control + f ...
The rule would be:
Display if <key binding>.
Continue displaying if <key binding>.
Stop when NO MORE <key binding>.
Currently, with setting:
[x] detect multiple simultaneous keys pressed (4.80.1)
...OSD displays separate entries:
Control + x
Control + f
Feature request continued
For enhanced control, include configuration options to define which keys are recognized as part of the key binding. This customization would benefit Emacs[2] users.
[x] detect multiple simultaneous keys pressed (4.80.1)
[x] treat trailing RET key
[x] treat trailing DEL key
[x] treat leading ESC key
Enabling these options would allow displaying key combinations like:
Control + x + RET
ESC + f
Emacs[2] is so versatile with key bindings that the full range of possibilities, like 'C-x RET f,' is probably beyond reach.
Rationale
Many Editors use key bindings that are combinations and not only composed of single key modifiers:
C-k C-c e.g. VS Code [1]
In Emacs[1] the key binding can be quite complex:
C-x C-f find file (aka open file)
C-x RET f Set file coding system (UTF-8, undecided-unix ...)
C-x 5 2 Open new frame
. . .
References
[1] Editor VS Code
https://code.visualstudio.com/docs/configure/keybindings
"(...) Chords (two separate keypress actions) are described by separating the two keypresses with a space. For example, Ctrl+K Ctrl+C (...)"
[2] Editor Emacs
... examples, not official documentation though
https://caiorss.github.io/Emacs-Elisp-Programming/Keybindings.html