Theia: Support Ctrl+N, Ctrl+T, and Ctrl+W keybindings in chrome / firefox

Created on 16 Dec 2019  路  3Comments  路  Source: eclipse-theia/theia

Description


Find a way to override Ctrl+N, Ctrl+T, and Ctrl+W keybinding in chrome / firefox browsers.

Reproduction Steps

  1. Apply VsCode Emacs Keymap extension
  2. open some file and try to execute the keybindings.

WRONG: Binded browser actions are executed instead of registered actions.
OS and Theia version:

Diagnostics:

bug keybindings vscode

All 3 comments

AFAIK, there's no way to override the reserved hot-keys in Chrome.
See this veeeery old issue https://bugs.chromium.org/p/chromium/issues/detail?id=119881#c84

@azatsarynnyy that's true, i was thinking about having alternative keybindings for browsers. VS Online should have the same issue. It would be good to start a discussion on VS Code repo to have it standartized in VS Code extension manifest. Maybe as well on the vim extension repo, simply explain that we are trying to run it in Theia, that keybindings don't work in browser and suggest to add alternative attribute to keybindings. VIM users there can have better ideas for alternative shortcuts.

Using @theia/keymaps I was able to override the following when using chrome in fullscreen mode.

  • ctrl + w
  • ctrl + n
  • ctrl + o
  • ctrl + pageup
  • ctrl + pagedown
Was this page helpful?
0 / 5 - 0 ratings

Related issues

cekvenich picture cekvenich  路  3Comments

kittaakos picture kittaakos  路  3Comments

akosyakov picture akosyakov  路  3Comments

Beetix picture Beetix  路  3Comments

akosyakov picture akosyakov  路  3Comments