help-docs: Fix keyboard shortcuts with multiple keys.

Fixes existing errors in the help center documentation where a
keyboard shortcut that has multiple keys is all one inline code
tag (e.g. `Ctrl + [`) instead of being separated into individual
inline code tags for each key (e.g. `Ctrl` + `[`).
This commit is contained in:
Lauryn Menard 2022-06-02 01:05:53 +02:00 committed by Tim Abbott
parent 25f6b53e90
commit 57e3f7145f
6 changed files with 17 additions and 17 deletions

View File

@ -12,7 +12,7 @@ on how to use these views.
You can configure which view is set as your default, and whether
the `Esc` key navigates to the default view. Also, you can always reach
the default view by using the `Ctrl + [` shortcut.
the default view by using the `Ctrl` + `[` shortcut.
## Change default view
@ -35,7 +35,7 @@ and select a view.
1. To see your changes in action, open a new Zulip tab, or use a keyboard
shortcut twice to exit the settings and navigate to your default view
(`Ctrl + [` or `Esc` if enabled).
(`Ctrl` + `[` or `Esc` if enabled).
[configure-esc]: /help/configure-default-view#set-whether-esc-navigates-to-the-default-view
@ -49,7 +49,7 @@ designed to enhance the user experience in the app.
By default, the `Esc` key shortcut will ultimately navigate to your
default view. You can disable this key binding if you would prefer.
This will not disable other `Esc` key shortcuts used in Zulip,
and will not affect the behavior of the `Ctrl+[` shortcut.
and will not affect the behavior of the `Ctrl` + `[` shortcut.
### Toggle whether `Esc` navigates to the default view

View File

@ -29,7 +29,7 @@ certificate store, like your web browser.
{start_tabs}
{tab|mac}
1. Hit Cmd+Space to bring up Spotlight Search, type **Keychain
1. Hit `Cmd` + `Space` to bring up Spotlight Search, type **Keychain
Access**, and press Enter.
2. From the **File** menu, choose **Import Items...**

View File

@ -1,7 +1,7 @@
# Enable Enter to send
By default, the `Enter` (or `Return`) key adds a new line to a message,
and `Ctrl+Enter` sends the message.
and `Ctrl` + `Enter` sends the message.
This is convenient for typing multi-line messages, which are more common in
Zulip than in most other chat products. However, you can also configure
@ -17,10 +17,10 @@ Zulip so that `Enter` sends the message.
{end_tabs}
Note that `Shift+Enter` always adds a new line, regardless of whether
Note that `Shift` + `Enter` always adds a new line, regardless of whether
**Enter to send** is enabled. The full table is below.
| Enter to send | `Enter` | `Ctrl+Enter` | `Shift+Enter` |
| Enter to send | `Enter` | `Ctrl` + `Enter` | `Shift` + `Enter` |
|---|---|---|---|
| Enabled | Sends message | Adds line | Adds line |
| Disabled | Adds line | Sends message | Adds line |

View File

@ -22,7 +22,7 @@ below, and add more to your repertoire as needed.
* **New private message**: `x`
* **Cancel compose**: `Esc` or `Ctrl + [` — Close the compose box and save
* **Cancel compose**: `Esc` or `Ctrl` + `[` — Close the compose box and save
the unsent message as a draft.
* **View drafts**: `d` — Use the arrow keys and `Enter` to restore a draft.
@ -41,14 +41,14 @@ below, and add more to your repertoire as needed.
* **Toggle keyboard shortcuts view**: `?`
* **Go to default view**: Press `Ctrl + [` (or `Esc`,
* **Go to default view**: `Ctrl` + `[` (or `Esc`,
[if enabled][disable-escape])
until you are in the [default view](/help/configure-default-view).
[disable-escape]: /help/configure-default-view#set-whether-esc-navigates-to-the-default-view
## Navigation
* **Search messages**: `/` or `Ctrl+k`
* **Search messages**: `/` or `Ctrl` + `k`
* **Filter streams**: `q`
@ -110,11 +110,11 @@ below, and add more to your repertoire as needed.
settings. See
[enable enter to send](https://zulip.com/help/enable-enter-to-send).
* **Insert italic text**: `*italic*` or `Ctrl + I`
* **Insert bold text**: `**bold**` or `Ctrl + B`
* **Insert link**: `[Zulip website](https://zulip.org)` or `Ctrl + Shift + L`
* **Insert italic text**: `*italic*` or `Ctrl` + `I`
* **Insert bold text**: `**bold**` or `Ctrl` + `B`
* **Insert link**: `[Zulip website](https://zulip.org)` or `Ctrl` + `Shift` + `L`
* **Cancel compose**: `Esc` or `Ctrl + [` — Close the compose box and save
* **Cancel compose**: `Esc` or `Ctrl` + `[` — Close the compose box and save
the unsent message as a draft.
## Message actions
@ -130,7 +130,7 @@ below, and add more to your repertoire as needed.
* **Edit message**: `e`
* **Star message**: `Ctrl + s`
* **Star message**: `Ctrl` + `s`
* **React with <img alt=":thumbs_up:" class="emoji"
src="/static/generated/emoji/images/emoji/unicode/1f44d.png"

View File

@ -20,7 +20,7 @@ and GitHub account use the same email address.
{tab|desktop}
1. Open the **left sidebar** (`Ctrl+Shift+s`).
1. Open the **left sidebar** (`Ctrl` + `Shift` + `s`).
1. Set your [proxy settings](/help/connect-through-a-proxy) or add a
[custom certificate](/help/custom-certificates) if needed (rare).

View File

@ -6,7 +6,7 @@ This article assumes you've [logged in](/help/logging-in) to each organization a
{tab|desktop}
1. Open the **left sidebar** (`Ctrl+Shift+s`).
1. Open the **left sidebar** (`Ctrl` + `Shift` + `s`).
1. Click on your organization's profile picture.