2017-01-25 00:37:21 +01:00
|
|
|
# Keyboard shortcuts
|
2017-01-05 23:35:54 +01:00
|
|
|
|
|
|
|
Keyboard shortcuts allow a user to use Zulip easily and efficiently
|
|
|
|
for a better user experience.
|
2016-12-09 18:20:59 +01:00
|
|
|
|
|
|
|
Zulip keyboard shortcuts are divided into four categories:
|
2017-05-12 03:46:24 +02:00
|
|
|
|
2016-12-09 18:20:59 +01:00
|
|
|
* [Navigation](#navigation)
|
|
|
|
* [Composing messages](#composing-messages)
|
|
|
|
* [Narrowing](#narrowing)
|
2017-05-13 03:24:17 +02:00
|
|
|
* [Message actions](#message-actions)
|
2016-12-09 18:20:59 +01:00
|
|
|
* [Menus](#menus)
|
2017-05-13 03:24:17 +02:00
|
|
|
* [Drafts](#drafts)
|
2016-12-09 18:20:59 +01:00
|
|
|
|
2017-02-11 18:17:53 +01:00
|
|
|
!!! warn ""
|
2017-05-13 03:24:17 +02:00
|
|
|
**Note:** We note how to enter keyboard shortcuts using keys not
|
|
|
|
present on MacOS keyboard in parentheses below.
|
2017-02-11 18:17:53 +01:00
|
|
|
|
2016-12-09 18:20:59 +01:00
|
|
|
## Navigation
|
2017-01-05 23:35:54 +01:00
|
|
|
|
2017-05-13 03:24:17 +02:00
|
|
|
* **Initiate a search**: `/` — This shortcut moves the user's cursor to
|
2017-01-05 23:35:54 +01:00
|
|
|
the message search bar at the top of the window to allow them to
|
|
|
|
begin searching for messages belonging to a specific topic, stream,
|
2017-01-09 05:46:03 +01:00
|
|
|
view, etc. in the organization.
|
2017-05-13 03:24:17 +02:00
|
|
|
* **Search people**: `q` — This shortcut moves the user's cursor to the
|
2017-01-05 23:35:54 +01:00
|
|
|
user search bar in the right sidebar to to allow them to begin
|
2017-01-09 05:46:03 +01:00
|
|
|
searching for a particular user in the organization.
|
2017-05-13 03:24:17 +02:00
|
|
|
* **Search streams**: `w` — This shortcut moves the user's cursor to
|
2017-01-05 23:35:54 +01:00
|
|
|
the stream search bar in the left sidebar to to allow them to begin
|
2017-01-09 05:46:03 +01:00
|
|
|
searching for a particular stream in the organization.
|
2017-05-13 03:24:17 +02:00
|
|
|
* **Previous message**: `k` or `↑` — This shortcut allows the user
|
2017-01-05 23:35:54 +01:00
|
|
|
to scroll up to the previous message in their view.
|
2017-05-13 03:24:17 +02:00
|
|
|
* **Next message**: `j` or `↓` — This shortcut allows the user to
|
2017-01-05 23:35:54 +01:00
|
|
|
scroll down to the next message in their view.
|
2017-05-13 03:24:17 +02:00
|
|
|
* **Scroll up**: `K` or `PgUp` (`Fn` + `↑` on Mac) — This shortcut
|
2017-02-12 08:19:04 +01:00
|
|
|
allows the user to scroll up through the messages in their view.
|
2017-05-13 03:24:17 +02:00
|
|
|
* **Scroll down**: `J`, `Spacebar`, or `PgDn` (`Fn` + `↓` on Mac) —
|
2017-02-12 08:19:04 +01:00
|
|
|
This shortcut allows the user to scroll down through the messages in
|
|
|
|
their view.
|
2017-05-13 03:24:17 +02:00
|
|
|
* **Last message**: `End` (`Fn`+`⇾` on Mac) or `G` — This shortcut
|
2017-02-12 08:19:04 +01:00
|
|
|
allows the user to scroll to the most recent message in their view.
|
2017-05-13 03:24:17 +02:00
|
|
|
* **First message**: `Home` (`Fn`+`⇽` on Mac) — This shortcut
|
2017-02-12 08:19:04 +01:00
|
|
|
allows the user to scroll to the most recent message in their view.
|
2016-12-09 18:20:59 +01:00
|
|
|
|
|
|
|
## Composing messages
|
2017-05-12 03:46:24 +02:00
|
|
|
|
2017-05-13 03:24:17 +02:00
|
|
|
* **Reply to message**: `r` or `Enter` (`Return` on Mac) — This
|
2017-02-12 08:19:04 +01:00
|
|
|
shortcut allows the user to begin replying to the selected message
|
|
|
|
(outlined in blue).
|
2017-05-13 03:24:17 +02:00
|
|
|
* **Reply to author**: `R` — This shortcut allows the user to begin
|
2017-01-05 23:35:54 +01:00
|
|
|
writing a private message to the author of the selected message
|
|
|
|
(outlined in blue).
|
2017-05-13 03:24:17 +02:00
|
|
|
* **New stream message**: `c` — This shortcut allows the user to begin
|
2017-01-05 23:35:54 +01:00
|
|
|
composing a new stream message.
|
2017-05-13 03:24:17 +02:00
|
|
|
* **New private message**: `C` — This shortcut allows the user to begin
|
2017-01-05 23:35:54 +01:00
|
|
|
composing a new private message.
|
2017-05-13 03:24:17 +02:00
|
|
|
* **Reply to message mentioning the author**: `@` — This
|
|
|
|
shortcut allows the user to begin replying to the selected message
|
|
|
|
(outlined in blue), @—mentioning the author of the selected message.
|
|
|
|
* **Send message**: `Tab` then `Enter` (`Return` on Mac), `Ctrl` + `Enter`
|
|
|
|
(`Return` on Mac) — This shortcut allows the user to send the message that
|
|
|
|
they've written.
|
|
|
|
* **Insert new line**: `Shift` + `Enter` (`Return` on Mac) — This shortcut
|
|
|
|
allows the user to insert a new line break in their message.
|
|
|
|
* **Cancel compose**: `Esc` or `Ctrl + [` — This shortcut allows the user to cancel
|
2017-01-05 23:35:54 +01:00
|
|
|
and discard their unsent message.
|
2016-12-09 18:20:59 +01:00
|
|
|
|
|
|
|
## Narrowing
|
2017-01-05 23:35:54 +01:00
|
|
|
|
2017-05-13 03:24:17 +02:00
|
|
|
* **Narrow by stream**: `s` — This shortcut narrows the view to show
|
2017-01-05 23:35:54 +01:00
|
|
|
all messages in the stream of the selected message (outlined in
|
|
|
|
blue).
|
2017-05-13 03:24:17 +02:00
|
|
|
* **Narrow by topic**: `S` — This shortcut narrows the view to show all
|
2017-01-05 23:35:54 +01:00
|
|
|
messages with the topic of the selected message (outlined in blue).
|
2017-05-13 03:24:17 +02:00
|
|
|
* **Narrow to all private messages**: `P` — This shortcut narrows the
|
2017-01-05 23:35:54 +01:00
|
|
|
view to show all of the user's private messages.
|
2017-05-13 03:24:17 +02:00
|
|
|
* **Narrow to next unread topic**: `n` — This shortcut narrows the
|
2017-03-23 13:23:49 +01:00
|
|
|
view to the next unread topic in the stream sidebar.
|
2017-05-13 03:24:17 +02:00
|
|
|
* **Cycle between stream narrows**: `A` and `D` — This shortcut allows the
|
2017-01-05 23:35:54 +01:00
|
|
|
user to cycle through the narrows showing the messages of a stream
|
|
|
|
according to Stream order in the left sidebar. `A` allows the user
|
|
|
|
to navigate to the previous stream narrow, and `D` allows the user
|
|
|
|
to navigate to the next stream narrow.
|
2017-05-13 03:24:17 +02:00
|
|
|
* **Return to home view**: `Esc` or `Ctrl` + `[` — This shortcut allows the user
|
|
|
|
to return to the Home view, showing all messages in the organization.
|
2016-12-09 18:20:59 +01:00
|
|
|
|
2017-05-13 03:24:17 +02:00
|
|
|
## Message actions
|
2017-01-05 23:35:54 +01:00
|
|
|
|
2017-05-13 03:24:17 +02:00
|
|
|
* **Edit your last message**: `⇽` — This shortcut opens the last editable
|
|
|
|
message that the user sent in the current view (if any) in the compose box.
|
2017-05-23 00:13:16 +02:00
|
|
|
* **Show images in thread**: `v` — This shortcut opens any images or videos
|
|
|
|
(if any) embedded in a message or previous messages within the thread
|
|
|
|
using the lightbox viewer.
|
2017-05-13 03:24:17 +02:00
|
|
|
* **Edit selected message**: `i` then `Enter` (`Return` on Mac) —
|
2017-02-12 08:19:04 +01:00
|
|
|
This shortcut allows the user to edit the selected message (outlined
|
|
|
|
in blue) if the user authored the selected message. If the selected
|
|
|
|
message was written by another user, this shortcut will enable the
|
|
|
|
user to view the source code of the message.
|
2017-05-13 03:24:17 +02:00
|
|
|
* **Star selected message**: `*` — This shortcut allows the user to star the
|
|
|
|
selected message (outlined in blue).
|
|
|
|
* **React to selected message with <img alt=":thumbs_up:" class="emoji"
|
|
|
|
src="/static/generated/emoji/images/emoji/unicode/1f44d.png"
|
|
|
|
title=":thumbs_up:"/>**: `+` — This shortcut allows the user to react to the
|
|
|
|
selected message (outlined in blue) with the <img alt=":thumbs_up:"
|
|
|
|
class="emoji" src="/static/generated/emoji/images/emoji/unicode/1f44d.png"
|
|
|
|
title=":thumbs_up:"/> (`:thumbs_up:`) emoji.
|
|
|
|
* **Toggle topic mute**: `M` — This shortcut allows the user to mute and unmuted
|
|
|
|
the topic of the selected message (outlined in blue).
|
|
|
|
|
|
|
|
## Menus
|
|
|
|
|
|
|
|
* **Toggle the gear menu**: `g` — This shortcut opens the gear menu located in
|
|
|
|
the upper-right corner of the window.
|
|
|
|
* **Open message menu**: `i` — This shortcut opens the message menu with the
|
|
|
|
available message actions of the selected message (outlined in blue).
|
|
|
|
* **Open reactions menu**: `:` — This shortcut opens the emoji reactions menu,
|
|
|
|
allowing you to add an emoji reaction to the selected message.
|
|
|
|
* **Show keyboard shortcuts**: `?` — This shortcut makes a modal
|
|
|
|
window with a list of all of the keyboard shortcuts appear.
|
|
|
|
|
|
|
|
## Drafts
|
|
|
|
|
|
|
|
* **View drafts**: `d` — This shortcut opens the **Drafts** modal with a list of
|
|
|
|
all of the user's drafts.
|
|
|
|
* **Select previous draft**: `↑` — This shortcut selects the previous draft in
|
|
|
|
the **Drafts** modal.
|
|
|
|
* **Select next draft**: `↓` — This shortcut selects the next draft in
|
|
|
|
the **Drafts** modal.
|
|
|
|
* **Scroll up**: `PgUp` (`Fn` + `↑` on Mac) — This shortcut allows the user to
|
|
|
|
scroll up through the **Drafts** modal.
|
|
|
|
* **Scroll down**: `Spacebar` or `PgDn` (`Fn` + `↓` on Mac) — This shortcut
|
|
|
|
allows the user to scroll down through the **Drafts** modal.
|
|
|
|
* **Select first draft**: `Home` (`Fn`+`⇽` on Mac) — This shortcut
|
|
|
|
allows the user to scroll to the first draft in the **Drafts** modal.
|
|
|
|
* **Select last draft**: `End` (`Fn`+`⇾` on Mac) or `G` — This shortcut
|
|
|
|
allows the user to scroll to the last draft in the **Drafts** modal.
|
|
|
|
* **Edit selected draft**: `Enter` (`Return` on Mac) — This shortcut allows the
|
|
|
|
user to open the selected draft in the compose box for editing.
|
|
|
|
* **Delete selected draft**: `Backspace` (`Delete` on Mac) — This shortcut allows the
|
|
|
|
user to delete the selected draft, removing it from the **Drafts** modal.
|