Keyboard shortcuts keep your hands on the keyboard and your focus on writing. On Windows and Linux, use Ctrl where the tables say Cmd.
The one to remember is Cmd+P, the Action Palette. From there you can search files, citations and commands without memorizing the rest.
Navigation and view
| Action | Shortcut | What it does |
|---|---|---|
| Action Palette | Cmd+P | Search files, citations and commands. |
| Toggle left sidebar | Cmd+B | Show or hide the file explorer. |
| Toggle right sidebar | Cmd+Shift+B | Show or hide the assistant and tool sidebar. |
| Toggle right panel | Shift+Esc | Show or hide the assistant and preview panel. |
| Swap panes | Cmd+Shift+Esc | Swap or reverse the current pane layout. |
| Find in PDF | Cmd+F | Search the text of the compiled PDF. |
| Jump to this line in the PDF | Cmd+Shift+P | Scroll the PDF to the source line under your cursor. |
Editing
| Action | Shortcut | What it does |
|---|---|---|
| Save and recompile | Cmd+S | Save the current file and compile the PDF. |
| Undo | Cmd+Z | Undo the last change. |
| Redo | Cmd+Y or Cmd+Shift+Z | Redo the last undone change. |
| Toggle comment | Cmd+/ | Comment or uncomment the current line or selection. |
| Italic | Cmd+I | Wrap the selection in \textit{}. |
| Underline | Cmd+U | Wrap the selection in \underline{}. |
Environments
| Action | Shortcut | What it does |
|---|---|---|
| Jump to matching begin/end | Cmd+Shift+E | Move the cursor between \begin{} and its matching \end{}. |
| Select environment content | Cmd+Alt+E | Select the body, without the \begin{} and \end{} lines. |
| Select environment | Cmd+Shift+Alt+E | Select the whole environment. |
| Wrap in environment | Cmd+Shift+W | Wrap the selection in \begin{}...\end{}, then type the name. |
| Toggle equation syntax | Cmd+Shift+M | Convert between \[...\] and \begin{equation*}...\end{equation*}. |
Files
| Action | Shortcut | What it does |
|---|---|---|
| New file | Cmd+Shift+N | Create a new file. |
| Rename | F2 | Rename the selected file in the file explorer. |
| Copy and paste | Cmd+C, Cmd+V | Copy the selected file and paste it. |
| Delete | Delete | Delete the selected file. |
You can see and rebind every shortcut inside the editor's settings.