element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
Apache License 2.0
10.74k stars 1.89k forks source link

More hotkeys / keyboard shortcuts #3232

Closed richvdh closed 3 months ago

richvdh commented 7 years ago

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:

Broken:

We should add hotkeys for

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.

albuic commented 7 years ago

+1 pour le #301 (Next unread room)

frankiebee commented 7 years ago

Sorry to bug but:

t3chguy commented 7 years ago

@frankiebee I believe on Mac it is Cmd+k

frankiebee commented 7 years ago

that does not work either

anton-ryzhov commented 6 years ago

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.

t3chguy commented 6 years ago

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

anton-ryzhov commented 6 years ago

@t3chguy Definitely it should be configurable.

t3chguy commented 6 years ago

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

aperezdc commented 6 years ago

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

t3chguy commented 6 years ago

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

anton-ryzhov commented 6 years ago

@t3chguy

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

What do you mean? It is a