From cda631bef460d06ddcc9704529ef2de2002922bd Mon Sep 17 00:00:00 2001 From: Maze Date: Mon, 24 Jan 2022 01:10:54 +0100 Subject: [PATCH] Improve formatting for key bindings --- docs/KEYBINDINGS.md | 192 ++++++++++++++++++++++---------------------- docs/MIRAGEDIFF.md | 14 ++-- 2 files changed, 103 insertions(+), 103 deletions(-) diff --git a/docs/KEYBINDINGS.md b/docs/KEYBINDINGS.md index 863322f9..80d6a927 100644 --- a/docs/KEYBINDINGS.md +++ b/docs/KEYBINDINGS.md @@ -6,114 +6,114 @@ Keybindings as defined in [the default configuration file](src/config/settings.p Key | Function ------ | ------ -Ctrl + Alt + C | Toggle compact interface -Ctrl + + | Zoom in -Ctrl + - | Zoom out -Ctrl + = | Reset zoom -Alt + Shift + Left
Alt + Shift + H | Previous tab -Alt + Shift + Right
Alt + Shift + L | Next tab -Ctrl + Tab | Switch to the last opened page -Ctrl + H | Earlier page in history (page back) -Ctrl + L | Later page in history (page forward) -Ctrl + Alt + H | Toggle notifications, except highlights -Ctrl + Alt + N | Toggle notifications +Ctrl + Alt + C | Toggle compact interface +Ctrl + + | Zoom in +Ctrl + - | Zoom out +Ctrl + = | Reset zoom +Alt + Shift + Left
Alt + Shift + H | Previous tab +Alt + Shift + Right
Alt + Shift + L | Next tab +Ctrl + Tab | Switch to the last opened page +Ctrl + H | Earlier page in history (page back) +Ctrl + L | Later page in history (page forward) +Ctrl + Alt + H | Toggle notifications, except highlights +Ctrl + Alt + N | Toggle notifications F1 | QML developer console -Shift + F1 | Python debugger -Alt + F1 | Python remote debugger -Ctrl + Q | Quit Moment * +Shift + F1 | Python debugger +Alt + F1 | Python remote debugger +Ctrl + Q | Quit Moment * ## Scrolling bindings Key | Function ------ | ------ -Alt + Up
Alt + K | Scroll up -Alt + Down
Alt + J | Scroll down -Ctrl + Alt + Up
Ctrl + Alt + K
PgUp | Page up -Ctrl + Alt + Down
Ctrl + Alt + J
PgDown | Page down -Ctrl + Alt + Shift + Up
Ctrl + Alt + Shift + K
Home | Scroll to top -Ctrl + Alt + Shift + Down
Ctrl + Alt + Shift + J
End | Scroll to bottom +Alt + Up
Alt + K | Scroll up +Alt + Down
Alt + J | Scroll down +Ctrl + Alt + Up
Ctrl + Alt + K
PgUp | Page up +Ctrl + Alt + Down
Ctrl + Alt + J
PgDown | Page down +Ctrl + Alt + Shift + Up
Ctrl + Alt + Shift + K
Home | Scroll to top +Ctrl + Alt + Shift + Down
Ctrl + Alt + Shift + J
End | Scroll to bottom ## Account bindings Key | Function ------ | ------ -Alt + Shift + A | Add new account -Alt + O | Collapse current account -Alt + A | Current account settings -Alt + P | Current account context menu -Ctrl + Alt + U
Ctrl + Alt + A | Unavailable status -Ctrl + Alt + I | Invisible status -Ctrl + Alt + O | Offline status -Alt + Shift + N | Previous account -Alt + N | Next account -Ctrl + 1 | Switch to account 1 -Ctrl + 2 | Switch to account 2 -Ctrl + 3 | Switch to account 3 -Ctrl + 4 | Switch to account 4 -Ctrl + 5 | Switch to account 5 -Ctrl + 6 | Switch to account 6 -Ctrl + 7 | Switch to account 7 -Ctrl + 8 | Switch to account 8 -Ctrl + 9 | Switch to account 9 -Ctrl + 0 | Switch to account 10 +Alt + Shift + A | Add new account +Alt + O | Collapse current account +Alt + A | Current account settings +Alt + P | Current account context menu +Ctrl + Alt + U
Ctrl + Alt + A | Unavailable status +Ctrl + Alt + I | Invisible status +Ctrl + Alt + O | Offline status +Alt + Shift + N | Previous account +Alt + N | Next account +Ctrl + 1 | Switch to account 1 +Ctrl + 2 | Switch to account 2 +Ctrl + 3 | Switch to account 3 +Ctrl + 4 | Switch to account 4 +Ctrl + 5 | Switch to account 5 +Ctrl + 6 | Switch to account 6 +Ctrl + 7 | Switch to account 7 +Ctrl + 8 | Switch to account 8 +Ctrl + 9 | Switch to account 9 +Ctrl + 0 | Switch to account 10 ## Room bindings Key | Function ------ | ------ -Alt + C | Create a new room (start chat) -Alt + F
Ctrl + K | Focus filter * -Alt + Shift + F | Clear filter -Alt + Shift + Up
Alt + Shift + K | Previous room -Alt + Shift + Down
Alt + Shift + J | Next room -Alt + Shift + U | Previous unread -Alt + U | Next unread -Ctrl + Shift + U | Oldest unread -Ctrl + U | Latest unread -Alt + Shift + M | Previous highlight -Alt + M | Next highlight -Ctrl + Shift + M | Oldest highlight -Ctrl + M | Latest highlight -Alt + 1 | Room number 1 in account -Alt + 2 | Room number 2 in account -Alt + 3 | Room number 3 in account -Alt + 4 | Room number 4 in account -Alt + 5 | Room number 5 in account -Alt + 6 | Room number 6 in account -Alt + 7 | Room number 7 in account -Alt + 8 | Room number 8 in account -Alt + 9 | Room number 9 in account -Alt + 0 | Room number 10 in account +Alt + C | Create a new room (start chat) +Alt + F
Ctrl + K | Focus filter * +Alt + Shift + F | Clear filter +Alt + Shift + Up
Alt + Shift + K | Previous room +Alt + Shift + Down
Alt + Shift + J | Next room +Alt + Shift + U | Previous unread +Alt + U | Next unread +Ctrl + Shift + U | Oldest unread +Ctrl + U | Latest unread +Alt + Shift + M | Previous highlight +Alt + M | Next highlight +Ctrl + Shift + M | Oldest highlight +Ctrl + M | Latest highlight +Alt + 1 | Room number 1 in account +Alt + 2 | Room number 2 in account +Alt + 3 | Room number 3 in account +Alt + 4 | Room number 4 in account +Alt + 5 | Room number 5 in account +Alt + 6 | Room number 6 in account +Alt + 7 | Room number 7 in account +Alt + 8 | Room number 8 in account +Alt + 9 | Room number 9 in account +Alt + 0 | Room number 10 in account (no binding) | Jump to specific room by ID ## Chat bindings Key | Function ------ | ------ -Alt + R | Focus room pane -Ctrl + Alt + R | Hide room pane -Alt + I | Invite members -Alt + Escape | Leave current chat -Alt + S | Upload file -Alt + Shift + S | Send file at clipboard path +Alt + R | Focus room pane +Ctrl + Alt + R | Hide room pane +Alt + I | Invite members +Alt + Escape | Leave current chat +Alt + S | Upload file +Alt + Shift + S | Send file at clipboard path ## Message bindings Key | Function ------ | ------ -Ctrl + Up
Ctrl + I | Focus previous message * -Ctrl + Down
Ctrl + J | Focus next message -Ctrl + Space | Select focused message -Ctrl + Shift + Space | Select messages until here -Ctrl + D | Unfocus or deselect -Ctrl + S | Display seen tooltips -Ctrl + Shift + R
Alt + Del | Remove message * -Ctrl + R | Reply * -Ctrl + Shift + D | Debug message -Ctrl + O | Open link/file in message -Ctrl + Shift + O | Open link/file externally -Ctrl + Shift + C | Copy downloaded file path -Ctrl + Shift + L | Clear messages +Ctrl + Up
Ctrl + I | Focus previous message * +Ctrl + Down
Ctrl + J | Focus next message +Ctrl + Space | Select focused message +Ctrl + Shift + Space | Select messages until here +Ctrl + D | Unfocus or deselect +Ctrl + S | Display seen tooltips +Ctrl + Shift + R
Alt + Del | Remove message * +Ctrl + R | Reply * +Ctrl + Shift + D | Debug message +Ctrl + O | Open link/file in message +Ctrl + Shift + O | Open link/file externally +Ctrl + Shift + C | Copy downloaded file path +Ctrl + Shift + L | Clear messages ## Image viewer bindings @@ -121,20 +121,20 @@ Key | Function ------ | ------ X
Q | Close image viewer E | Expand image viewer -F
F11
Alt + Return
Alt + Enter | Fullscreen image viewer -H
Left
Alt + H
Alt + Left | Pan image left -J
Down
Alt + J
Alt + Down | Pan image down -K
Up
Alt + K
Alt + Up | Pan image up -L
Right
Alt + L
Alt + Right | Pan image right -Z
+
Ctrl + + | Zoom in -Shift + Z
-
Ctrl + - | Zoom out -Alt + Z
=
Ctrl + = | Reset zoom +F
F11
Alt + Return
Alt + Enter | Fullscreen image viewer +H
Left
Alt + H
Alt + Left | Pan image left +J
Down
Alt + J
Alt + Down | Pan image down +K
Up
Alt + K
Alt + Up | Pan image up +L
Right
Alt + L
Alt + Right | Pan image right +Z
+
Ctrl + + | Zoom in +Shift + Z
-
Ctrl + - | Zoom out +Alt + Z
=
Ctrl + = | Reset zoom R | Rotate image right -Shift + R | Rotate image left -Alt + R | Reset image rotation +Shift + R | Rotate image left +Alt + R | Reset image rotation S | Speed up gif -Shift + S | Slow down gif -Alt + S | Reset gif speed +Shift + S | Slow down gif +Alt + S | Reset gif speed Space | Pause gif ## Security tab bindings @@ -142,10 +142,10 @@ Key | Function Key | Function ------ | ------ Tab | Navigate next -Shift + Tab | Navigate previous +Shift + Tab | Navigate previous Space | Toggle check Menu | Session context menu -Alt + R
F5 | Refresh session list -Alt + S
Delete | Sign out session +Alt + R
F5 | Refresh session list +Alt + S
Delete | Sign out session *Binding different than in Mirage diff --git a/docs/MIRAGEDIFF.md b/docs/MIRAGEDIFF.md index 019ddf23..cd8f3faa 100644 --- a/docs/MIRAGEDIFF.md +++ b/docs/MIRAGEDIFF.md @@ -29,15 +29,15 @@ Moment has a different configuration directory config automatically on first startup). Moment has different default keybindings: -- Ctrl + Q is `Quit` -- `Reply` is Ctrl + R instead of Ctrl + Q -- `Remove` is Ctrl + Shift + R instead of Ctrl + R -- Ctrl + K is `Focus filter` -- `Focus previous message` is Ctrl + I instead of Ctrl + K +- Ctrl + Q is `Quit` +- `Reply` is Ctrl + R instead of Ctrl + Q +- `Remove` is Ctrl + Shift + R instead of Ctrl + R +- Ctrl + K is `Focus filter` +- `Focus previous message` is Ctrl + I instead of Ctrl + K If you wish to have `Focus previous message` and `Focus next message` -adjacent on Ctrl + U and Ctrl + I, -we recommend swapping Ctrl + U and Ctrl + J +adjacent on Ctrl + U and Ctrl + I, +we recommend swapping Ctrl + U and Ctrl + J by adding this to `~/.config/moment/settings.py`: ``` python class Keys: