@@ -86,7 +86,7 @@ Modifier combinations: `ctrl+shift+x`, `alt+ctrl+x`, `ctrl+shift+alt+x`, `ctrl+1
|
||||
| `app.clear` | `ctrl+c` | Clear editor |
|
||||
| `app.exit` | `ctrl+d` | Exit (when editor empty) |
|
||||
| `app.suspend` | `ctrl+z` (none on Windows) | Suspend to background |
|
||||
| `app.editor.external` | `ctrl+g` | Open in external editor (`$VISUAL` or `$EDITOR`) |
|
||||
| `app.editor.external` | `ctrl+g` | Open in external editor (`externalEditor`, `$VISUAL`, `$EDITOR`, Notepad on Windows, or `nano` elsewhere) |
|
||||
| `app.clipboard.pasteImage` | `ctrl+v` (`alt+v` on Windows) | Paste image from clipboard |
|
||||
|
||||
### Sessions
|
||||
|
||||
@@ -51,6 +51,7 @@ Use `/trust` in interactive mode to save a project trust decision for future ses
|
||||
| Setting | Type | Default | Description |
|
||||
|---------|------|---------|-------------|
|
||||
| `theme` | string | `"dark"` | Theme name (`"dark"`, `"light"`, or custom) |
|
||||
| `externalEditor` | string | `$VISUAL`, then `$EDITOR`, then Notepad on Windows or `nano` elsewhere | Command for Ctrl+G external editor; takes precedence over environment variables |
|
||||
| `quietStartup` | boolean | `false` | Hide startup header |
|
||||
| `defaultProjectTrust` | string | `"ask"` | Fallback project trust behavior: `"ask"`, `"always"`, or `"never"`. Global setting only |
|
||||
| `collapseChangelog` | boolean | `false` | Show condensed changelog after updates |
|
||||
@@ -63,6 +64,14 @@ Use `/trust` in interactive mode to save a project trust decision for future ses
|
||||
| `autocompleteMaxVisible` | number | `5` | Max visible items in autocomplete dropdown (3-20) |
|
||||
| `showHardwareCursor` | boolean | `false` | Show the terminal cursor while TUI positions it for IME support |
|
||||
|
||||
For VS Code, include `--wait` so pi resumes after the editor exits:
|
||||
|
||||
```json
|
||||
{
|
||||
"externalEditor": "code --wait"
|
||||
}
|
||||
```
|
||||
|
||||
### Telemetry and update checks
|
||||
|
||||
`enableInstallTelemetry` only controls the anonymous install/update ping to `https://pi.dev/api/report-install`. Opting out of telemetry does not disable update checks; Pi can still fetch `https://pi.dev/api/latest-version` to look for the latest version.
|
||||
|
||||
@@ -25,7 +25,7 @@ The editor can be replaced temporarily by built-in UI such as `/settings` or by
|
||||
| Images | Paste with Ctrl+V, Alt+V on Windows, or drag into the terminal |
|
||||
| Shell command | `!command` runs and sends output to the model |
|
||||
| Hidden shell command | `!!command` runs without sending output to the model |
|
||||
| External editor | Ctrl+G opens `$VISUAL` or `$EDITOR` |
|
||||
| External editor | Ctrl+G opens `externalEditor`, `$VISUAL`, `$EDITOR`, Notepad on Windows, or `nano` elsewhere |
|
||||
|
||||
See [Keybindings](keybindings.md) for all shortcuts and customization.
|
||||
|
||||
@@ -297,7 +297,7 @@ pi --exclude-tools ask_question
|
||||
| `PI_SKIP_VERSION_CHECK` | Skip the Pi version update check at startup. This prevents the `pi.dev` latest-version request |
|
||||
| `PI_TELEMETRY` | Override install/update telemetry and provider attribution headers: `1`/`true`/`yes` or `0`/`false`/`no`. This does not disable update checks |
|
||||
| `PI_CACHE_RETENTION` | Set to `long` for extended prompt cache where supported |
|
||||
| `VISUAL`, `EDITOR` | External editor for Ctrl+G |
|
||||
| `VISUAL`, `EDITOR` | Fallback external editor for Ctrl+G when `externalEditor` is unset; defaults to Notepad on Windows and `nano` elsewhere |
|
||||
|
||||
## Design Principles
|
||||
|
||||
|
||||
Reference in New Issue
Block a user