Keyboard shortcuts
Every keyboard shortcut in one place.
| Shortcut | Action |
|---|---|
| CtrlK | Open the search bar |
| CtrlP | Open the command palette |
| CtrlJ | Toggle Focus mode (distraction-free full-screen editor) |
| CtrlShiftS | Toggle the sidebar |
| Ctrl/ | Toggle the AI panel |
| CtrlShiftL | Create a new document |
| CtrlS | Save and flush pending autosaves |
| ? | Show keyboard shortcuts |
| Escape | Close menus and modals |
| / | Open the slash command menu (while editing) |
| CtrlB | Bold |
| CtrlI | Italic |
| CtrlU | Underline |
| CtrlE | Inline code |
| CtrlShiftX | Strikethrough |
| CtrlShiftH | Highlight |
| ShiftCtrl1 | Set heading level 1 |
| ShiftCtrl2 | Set heading level 2 |
| ShiftCtrl3 | Set heading level 3 |
| ShiftCtrl0 | Reset block to paragraph |
| Ctrl> | Blockquote |
| ShiftCtrl8 | Bullet list |
| ShiftCtrl9 | Numbered list |
| Tab | Indent a list/todo item, move to the next table cell, or add code indentation |
| ShiftTab | Outdent a list/todo item, move to the previous table cell, or reduce code indentation |
| Ctrl] | Indent a list item |
| Ctrl[ | Outdent a list item |
| Alt↑ | Move a list or todo item up |
| Alt↓ | Move a list or todo item down |
| CtrlEnter | Toggle a todo item's checked state, exit a code block, or exit a table |
| ShiftCtrlEnter | Exit code blocks or tables |
| ShiftEnter | Insert a line break within the current paragraph (instead of starting a new paragraph) |
| CtrlZ | Undo |
| CtrlShiftZ | Redo. Also: CtrlY on Windows/Linux |
| Ctrl→ | Accept the next word of an AI completion |
| ArrowLeft | Decrease note width by 10 px (when resizing handle is focused) |
| ArrowRight | Increase note width by 10 px (when resizing handle is focused) |