xremap icon indicating copy to clipboard operation
xremap copied to clipboard

Have a keymap based on just 2 Modifiers

Open LamprosPitsillos opened this issue 2 years ago • 2 comments

      ALT_R-ALT_L: KEY_BACKSPACE

Is this possible ? The config is not crushing but i think it doesn't do anything

LamprosPitsillos avatar Jun 01 '23 11:06 LamprosPitsillos

What you observed is correct; it's currently not supposed to work. All modifiers are expected to "chain" prefixes to a future non-modifier key, so it doesn't finalize a key press event.

We could possibly handle a modifier differently if there's a keymap with only modifiers that are currently pressed. This would complicate the implementation to some extent, but I'd be open to merging that feature if somebody steps up to file a pull request.

k0kubun avatar Jun 08 '23 06:06 k0kubun

All modifiers are expected to "chain" prefixes to a future non-modifier key

Some common software, e.g., GNOME and Intellij IDEA, can understand and use super both as a modifier and as a final key

hab25 avatar Jul 14 '23 18:07 hab25