# Keyboard shortcuts

> The default KazoCode keyboard shortcuts for files, navigation, editing, the agent, Source Control and the REPL, and how to change them.

Open **Settings › Keyboard Shortcuts** (`Ctrl+K Ctrl+S`) to see every shortcut, search them, and set your own. Shortcuts sync between computers when you're [signed in](https://kazocode.app/docs/account.md). On macOS, use `Cmd` where this page says `Ctrl`.

## General

| Action | Shortcut |
| --- | --- |
| Show all commands | `Ctrl+Shift+P` |
| Open settings | `Ctrl+,` |
| Toggle the agent panel | `Ctrl+Shift+I` |
| Open the Agent Workspace | `Ctrl+Alt+A` |
| Toggle the sidebar | `Ctrl+B` |
| Toggle the panel | `Ctrl+J` |
| Toggle the terminal | `` Ctrl+` `` |
| New terminal | `` Ctrl+Shift+` `` |
| New window | `Ctrl+Shift+N` |
| Full screen | `F11` |
| Zoom in, out, reset | `Ctrl+=`, `Ctrl+-`, `Ctrl+Numpad0` |

## Files

| Action | Shortcut |
| --- | --- |
| Go to file | `Ctrl+P` |
| Open file | `Ctrl+O` |
| Open folder | `Ctrl+K Ctrl+O` |
| Open recent folder | `Ctrl+R` |
| Clone repository | `Ctrl+Shift+K` |
| New file | `Ctrl+N` |
| Save, save all | `Ctrl+S`, `Ctrl+Shift+S` |
| Close editor, close all | `Ctrl+W`, `Ctrl+K Ctrl+W` |
| Reopen closed editor | `Ctrl+Shift+T` |
| Next, previous editor | `Ctrl+Tab`, `Ctrl+Shift+Tab` |
| Split editor | `Ctrl+\` |
| Reveal file in explorer | `Ctrl+K E` |

## Navigation

| Action | Shortcut |
| --- | --- |
| Go to symbol in file | `Ctrl+Shift+O` |
| Go to symbol in project | `Ctrl+T` |
| Go to line | `Ctrl+G` |
| Go to definition | `F12` or `Ctrl`+click |
| Go to implementations | `Ctrl+F12` |
| Find all references | `Shift+F12` |
| Go back, forward | `Alt+Left`, `Alt+Right` |
| Go to bracket | `Ctrl+Shift+\` |
| Next, previous problem | `F8`, `Shift+F8` |
| Next, previous change | `Alt+F3`, `Shift+Alt+F3` |

## Editing

| Action | Shortcut |
| --- | --- |
| Find, replace | `Ctrl+F`, `Ctrl+H` |
| Search the project | `Ctrl+Shift+F` |
| Add cursor above, below | `Ctrl+Alt+Up`, `Ctrl+Alt+Down` |
| Select next occurrence | `Ctrl+D` |
| Expand, shrink selection | `Shift+Alt+Right`, `Shift+Alt+Left` |
| Rename symbol | `F2` |
| Code actions, quick fix | `Ctrl+.`, `Ctrl+Shift+.` |
| Format document | `Shift+Alt+F` |
| Toggle word wrap | `Alt+Z` |
| Fold all, unfold all | `Ctrl+K Ctrl+0`, `Ctrl+K Ctrl+J` |
| Markdown preview | `Ctrl+Shift+V` |

## Views

| Action | Shortcut |
| --- | --- |
| Explorer | `Ctrl+Shift+E` |
| Search | `Ctrl+Shift+F` |
| Source Control | `Ctrl+Shift+G` |
| Extensions | `Ctrl+Shift+X` |
| Problems | `Ctrl+Shift+M` |
| Output | `Ctrl+Shift+U` |

## REPL and remote

| Action | Shortcut |
| --- | --- |
| Run selection or line | `Ctrl+Enter` |
| Run cell | `Ctrl+Alt+Enter` |
| Run file | `Ctrl+Shift+Enter` |
| Connect to host | `Ctrl+Shift+Alt+C` |

## Tab predictions

| Action | Shortcut |
| --- | --- |
| Accept, or jump to the next edit | `Tab` |
| Accept one word | `Ctrl+Right` |
| Dismiss | `Escape` |
