hterm: add option to bind default set of keyboard shortcuts on a per-OS basis |
||
Issue description
in macOS, people are used to command+left/right arrow keys being home/end. in hterm, we end up eating these by default and passing them thru (where command==meta).
we should add a new preference like "keybindings-os-default" where we initialize a default set of keybindings (before adding in the user's "keybindings") that are common/normal for that platform.
in macOS, we'd probably start with:
{
"Meta-Left": "'\u001b[H'",
"Meta-Right": "'\u001b[F'"
}
,
Jul 7 2017
since meta-q in macOS is "quit program", and "program" here is Chrome, we probably want to rewrite that to the equiv of meta-w ("close window") for now
,
Apr 28 2018
for CrOS, we probably want to whitelist Alt-Shift-i which triggers feedback reports. for people in crosh, eating this shortcut can confuse them.
,
Oct 20
Issue 897351 has been merged into this issue.
,
Nov 10
Issue 904122 has been merged into this issue. |
||
►
Sign in to add a comment |
||
Comment 1 by vapier@chromium.org
, Jun 28 2017