# Editing basics

> Find your way around the KazoCode editor. Open files and folders, use quick open and the command palette, split editors, search and replace across a project, and set per-project settings.

KazoCode's editor works the way you expect if you've used VS Code: an explorer on the left, tabs in the middle, a panel for the terminal below, and the agent's chat beside them.

## Moving around

| To | Press |
| --- | --- |
| Run any command | `Ctrl+Shift+P` |
| Open a file by name | `Ctrl+P` |
| Go to a symbol in the file | `Ctrl+Shift+O` |
| Go to a symbol in the project | `Ctrl+T` |
| Go to a line | `Ctrl+G` |
| Open a recent folder | `Ctrl+R` |
| Go back or forward | `Alt+Left`, `Alt+Right` |

See every shortcut in [Keyboard shortcuts](https://kazocode.app/docs/editor/shortcuts.md), or change them in **Settings › Keyboard Shortcuts**.

## Files and tabs

- A single click in the explorer opens a **preview tab** (in italics) that the next file replaces; a double click, or editing it, keeps it open.
- Split the editor with `Ctrl+\` and move tabs between groups with `Ctrl+Alt+Left` and `Ctrl+Alt+Right`.
- `Ctrl+Shift+T` reopens the tab you just closed.
- Unsaved changes are kept as a draft while you type, so they survive a crash or a dropped remote connection.

The explorer has a filter box, a button to show or hide hidden files, and dims files ignored by Git. Hide more with `files.exclude`, which takes the same patterns as VS Code (`*.min.js`, `build/`, `src/**/*.test.ts`).

## Editing

- Multiple cursors: `Ctrl+Alt+Up` and `Ctrl+Alt+Down` add a cursor above or below.
- `Shift+Alt+Right` and `Shift+Alt+Left` grow and shrink the selection.
- `Shift+Alt+F` formats the document; turn on **Format on Save** to do it on every save.
- Snippets and Emmet abbreviations appear as completions; add your own snippets in `snippets.json` (VS Code format) or `.kazo/snippets.json`.
- `Ctrl+Shift+V` shows a live Markdown preview with an outline.

## Search across the project

`Ctrl+Shift+F` searches every file, with regular expressions, whole-word and case options, include and exclude patterns, and replace (with `$1` groups for regular expressions). **Open in Multi-Buffer** gathers every match into one editable view.

## Projects and windows

- `Ctrl+Shift+N` opens a new window.
- Each folder remembers its open tabs and expanded folders, so switching projects puts you back where you were.
- **View: Save Layout** saves where the sidebar, chat and panel sit, to apply again later.

## Per-project settings

Settings in `.kazo/settings.json` apply only to that project and win over your own settings. Pin a setting to the project from **Settings** with its pin button. Language-specific settings, such as a different tab size for Python, go in a `[python]` section.
