Element-web: More hotkeys / keyboard shortcuts

Created on 15 Feb 2017  Â·  46Comments  Â·  Source: vector-im/element-web

We have a few requests for extra hotkeys, but I thought a single issue would be useful to help track them.

So far we have:

Working:

  • ctrl-d / ctrl-e in voip calls to mute/unmute mic / camera
  • ctrl-k to jump to named room
  • up/down to navigate within room list
  • tab/shift-tab to navigate focus as normal (other than in MessageComposer, where it tab-completes)
  • page-up/page-down to navigate within the main scrollpanel
  • ctrl-home/ctrl-end to jump to beginning or end of main scrollpanel

Broken:

  • [x] alt-up/down to switch rooms, though it is broken (https://github.com/vector-im/riot-web/issues/49)
  • [ ] ctrl-shift-number to jump between the first 9 rooms, though it is broken (as it collides with switching tabs or something on some browsers)
  • [ ] page up/down in the room directory (#1803)

We should add hotkeys for

  • [x] Next unread room (https://github.com/vector-im/riot-web/issues/301)
  • [ ] Message search
  • [ ] Send an invite

This is related to https://github.com/vector-im/riot-web/issues/302, but I think that's more about tab indexes and making it possible to "click" buttons without a mouse, while this is all about hotkeys that don't require particular elements to be focussed.

accessibility feature mozilla p2 shortcuts

Most helpful comment

Are Riot hotkeys documented somewhere permanently?

All 46 comments

+1 pour le #301 (Next unread room)

Sorry to bug but:

  • ctrl-k to jump to named room
    does not work in macOsx native app or on chrome
  • up/down
    up/down does not seem to work

@frankiebee I believe on Mac it is Cmd+k

that does not work either

What about pretty standard feature — Enter for newline, Ctrl-Enter for send?

And another hotkey-related request. I's really useful to close all chats to keep all messages unread. Currently it can be done with Home button in the bottom of left menu.
Will it be nice to have hotkey for this? For example Telegram uses ESC for this — very convenient and expectable.

@anton-ryzhov more commonly its Shift-Enter for newline and Enter for send.

@t3chguy Definitely it should be configurable.

@anton-ryzhov it's down to your browser how it handles input boxes

The Ctrl+K shortcut does _not_ work for me either in WebKitGTK+ based browsers (or in Revolt, which also uses it).

Ctrl+K was removed while a PR undergoes testing, it will be added back when it is tested. https://github.com/matrix-org/matrix-react-sdk/pull/895

@t3chguy

it's down to your browser how it handles input boxes

What do you mean? It is a