eclipse-theia/theia

Allow `meta` on linux

Open

#8,932 opened on Jan 9, 2021

View on GitHub
 (4 comments) (0 reactions) (0 assignees)TypeScript (18,676 stars) (2,478 forks)batch import
enhancementhelp wantedkeybindings

Description

the keymaps package says "You can use shift, ctrl, alt, meta, option (alt), command (meta), cmd (meta) as modifiers. Note that if you defined a custom shortcut with cmd, command or meta, the same keymaps file won't work on a Windows/Linux machine as this key doesn't have an equivalent."

but, linux does have an equivalent key. super.

i use super extensively in my emacs and vscode keybindings, have for years. would you be open for a PR adding a super alias for meta and making it available on Linux?

i'd imagine ctrlCmd would continue to map to ctrl on linux and meta/super would be an additional option for bindings under Linux and macOS.

Contributor guide