Keyboard shortcuts¶
Shortcuts use Cmd on macOS and Ctrl on Windows and Linux unless noted otherwise. The command palette and the Settings shortcuts section are the runtime source of truth because bindings can be customized.
General¶
| Action | macOS | Windows/Linux |
|---|---|---|
| Open command palette | Cmd+P |
Ctrl+P |
| Find in files | Cmd+Shift+P |
Ctrl+Shift+P |
| Open settings | Cmd+, |
Ctrl+, |
Tabs and spaces¶
| Action | macOS | Windows/Linux |
|---|---|---|
| New terminal tab | Cmd+T |
Ctrl+T |
| New Blocks terminal | Cmd+Shift+T |
Ctrl+Shift+T |
| New private terminal | Cmd+R |
Ctrl+R |
| New editor tab | Cmd+E |
Ctrl+E |
| New web preview | Cmd+Shift+O |
Ctrl+Shift+O |
| Close tab or pane | Cmd+W |
Ctrl+W |
| Next tab | Ctrl+Tab |
Ctrl+Tab |
| Previous tab | Ctrl+Shift+Tab |
Ctrl+Shift+Tab |
| Select tab 1 to 9 | Cmd+1 to Cmd+9 |
Ctrl+1 to Ctrl+9 |
| Next space | Cmd+Shift+] |
Ctrl+Shift+] |
| Previous space | Cmd+Shift+[ |
Ctrl+Shift+[ |
| Open spaces | Cmd+Shift+S |
Ctrl+Shift+S |
Panes¶
| Action | Shortcut |
|---|---|
| Split right | Cmd/Ctrl+D |
| Split down | Cmd/Ctrl+Shift+D |
| Focus next pane | Cmd/Ctrl+] |
| Focus previous pane | Cmd/Ctrl+[ |
| Swap pane left or right | Cmd/Ctrl+Alt+Left/Right |
| Swap pane up or down | Cmd/Ctrl+Alt+Up/Down |
| Toggle source panel | Cmd/Ctrl+G |
Terminal and search¶
| Action | macOS | Windows/Linux |
|---|---|---|
| Terminal copilot | Cmd+K |
Ctrl+K |
| Toggle Shell / AI input | Cmd+U |
Ctrl+U |
| Previous command block | Cmd+Up |
Ctrl+Up |
| Next command block | Cmd+Down |
Ctrl+Down |
| Find in active tab | Cmd+F |
Ctrl+F |
| Search files | Cmd+Shift+F |
Ctrl+Shift+F |
| Toggle explorer | Cmd+B or Cmd+Shift+B |
Ctrl+B or Ctrl+Shift+B |
| Focus explorer | Cmd+Shift+E |
Ctrl+Shift+E |
| Toggle hidden files | Cmd+Shift+. |
Ctrl+Shift+. |
Cmd/Ctrl+B is handed to the focused terminal in contexts where the shell or a coding agent owns that key. Cmd/Ctrl+Shift+B always toggles the sidebar.
AI and agents¶
| Action | macOS | Windows/Linux |
|---|---|---|
| Toggle AI agent | Cmd+I |
Ctrl+I |
| Toggle mini AI window | Cmd+Shift+I |
Ctrl+Shift+I |
| Ask AI about selection | Cmd+J |
Ctrl+J |
| Focus agent needing attention | Cmd+Shift+A |
Ctrl+Shift+A |
Editor¶
| Action | Shortcut |
|---|---|
| Undo | Cmd/Ctrl+Z |
| Redo | Cmd/Ctrl+Y |
| Trigger AI completion | Alt+\\ |
| Trigger code completion | Ctrl+Space |
| Open file | Cmd/Ctrl+O |
| Open folder | Cmd/Ctrl+Shift+O |
| Go to line | Ctrl+G when an editor is active |
View¶
| Action | Shortcut |
|---|---|
| Zoom in | Cmd/Ctrl+= or Cmd/Ctrl+Shift++ |
| Zoom out | Cmd/Ctrl+- or Cmd/Ctrl+Shift+_ |
| Reset zoom | Cmd/Ctrl+0 |
| Toggle zen mode | Cmd/Ctrl+Shift+' |