eclipse-theia/theia

Allow `meta` on linux

开放

#8,932 创建于 2021年1月9日

 (4 条评论) (0 个反应) (0 位负责人)TypeScript (2,478 个派生)batch import
enhancementhelp wantedkeybindings

仓库指标

星标
 (18,676 个星标)
PR 合并指标
 (平均合并 15天 4小时) (30 天内合并 75 个 PR)

描述

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.

贡献者指南