user docs: Update enable-enter-to-send.

This commit is contained in:
Rishi Gupta
2018-09-16 17:59:02 -07:00
parent f56a76b53d
commit 976b5603ce
3 changed files with 21 additions and 19 deletions

View File

@@ -0,0 +1,20 @@
# Enable Enter to send
By default, the `Enter` (or `Return`) key adds a new line to a 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
Zulip so that `Enter` sends the message.
{!start-composing.md!}
1. Click **Press Enter to send** at the bottom of the compose box.
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` |
|---|---|---|---|
| Enabled | Sends message | Adds line | Adds line |
| Disabled | Adds line | Sends message | Adds line |

View File

@@ -1,18 +0,0 @@
# Enable or disable Press Enter to send
Zulip supports configuring whether the **Enter** key on your keyboard
sends a message that you are composing.
By default, the `Enter` (or `Return`) key simply adds a blank line to
the message when the **Press Enter to send** checkbox is
disabled. This is great if you want to write multi-line messages that
include blank lines, which is much more common in Zulip than in other
chat products. In this default configuration, you can send a message
from the keyboard with `Ctrl+Enter`.
However, if you check the **Press Enter to send** checkbox in the
compose box, Zulip sends your message when you press `Enter` (or
`Return`) on your keyboard, and `Ctrl+Enter` will produce a newline.
Whether or not the **Press Enter to send** option is enabled, pressing
`Shift` + `Enter` inserts a new line in your message.

View File

@@ -30,7 +30,7 @@
* [Video calls](/help/start-a-call)
* [Share and upload files](/help/share-and-upload-files)
<!-- Automatically link to an external issue tracker (improve wording) -->
* [Enable pressing Enter to send](/help/enable-or-disable-pressing-enter-to-send)
* [Enable Enter to send](/help/enable-enter-to-send)
* [Verify a message was sent](/help/verify-that-your-message-has-been-successfully-sent)
<!-- What to do if the server returns an error -->
* [Status messages](/help/format-your-message-using-markdown#status-messages)