docs/features/command-palette.md
Press Ctrl+P to open the command palette. Use prefix characters to switch modes:
| Prefix | Mode | Description |
|---|---|---|
| (none) | File finder | Fuzzy search for files in your project |
> | Commands | Search and run editor commands |
# | Buffers | Switch between open buffers by name |
: | Go to line | Jump to a specific line number |
Tips:
Tab to accept the top suggestion> to access commands, or # followed by a buffer name to switch filesetc hosts finds /etc/hosts, save file finds save_file.rspath:line[:col] syntax to jump to a location after opening (e.g. src/main.rs:42:10):) and in file-finder mode when you append :<N> to a file, the cursor previews the target line live as you type and commits when you press Enter. If you move the mouse or hit Escape, the preview is reverted.File enumeration runs in the background, so results stream in as soon as they're found — you can start typing the moment the palette opens, even on very large repositories or over SSH. Typing a path like etc/hosts also produces instant filesystem-confirmed matches without waiting for enumeration. Ranking prefers contiguous matches, so results finds results.json first.