starlight_help/src/content/docs/keyboard-shortcuts.mdx
import {TabItem, Tabs} from "@astrojs/starlight/components";
import FlattenedSteps from "../../components/FlattenedSteps.astro"; import KeyboardTip from "../../components/KeyboardTip.astro"; import NavigationSteps from "../../components/NavigationSteps.astro"; import ZulipTip from "../../components/ZulipTip.astro";
Everything in Zulip can be done with the mouse, but mastering a few keyboard shortcuts will change your experience of the app. Start with the basics below, and use the convenient keyboard shortcuts reference in the Zulip app to add more to your repertoire as needed.
Send message: <kbd>Tab</kbd> then <kbd>Enter</kbd>, or either <kbd>Enter</kbd> or <kbd>Ctrl</kbd> + <kbd>Enter</kbd> based on your settings
Insert new line: <kbd>Shift</kbd> + <kbd>Enter</kbd>, or either <kbd>Enter</kbd> or <kbd>Ctrl</kbd> + <kbd>Enter</kbd> based on your settings
Insert italic text: *italic* or <kbd>Ctrl</kbd> + <kbd>I</kbd>
Insert bold text: **bold** or <kbd>Ctrl</kbd> + <kbd>B</kbd>
Insert link: [Zulip website](https://zulip.org) or <kbd>Ctrl</kbd> +
<kbd>Shift</kbd> + <kbd>L</kbd>
Insert or create a saved snippet: <kbd>Ctrl</kbd> + <kbd>'</kbd>
Insert code formatting: `code` or ```code``` or <kbd>Ctrl</kbd> +
<kbd>Shift</kbd> + <kbd>C</kbd>.
See contextually appropriate code formatting.
Toggle preview mode: <kbd>Alt</kbd> + <kbd>P</kbd>
Cancel compose and save draft: <kbd>Esc</kbd> or <kbd data-mac-key="Ctrl">Ctrl</kbd> + <kbd>[</kbd> — Close the compose box and save the unsent message as a draft.
Use <kbd>Enter</kbd> to engage with elements.
Keyboard navigation (e.g., arrow keys) works as expected.
A summary of the keyboard shortcuts above is available in the Zulip app.
<Tabs> <TabItem label="Desktop/Web"> <FlattenedSteps> <NavigationSteps target="relative/help/keyboard-shortcuts" /> </FlattenedSteps><KeyboardTip>
You can also use <kbd>?</kbd> to open the keyboard shortcuts reference.
</KeyboardTip>