mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 16:00:58 +00:00
Add Vim-style keybindings example to README
This commit is contained in:
parent
6af7c97154
commit
97bb411988
1 changed files with 15 additions and 0 deletions
|
|
@ -322,6 +322,21 @@ All keyboard shortcuts can be customized via `~/.pi/agent/keybindings.json`. Eac
|
|||
}
|
||||
```
|
||||
|
||||
**Example (Vim-style):**
|
||||
|
||||
```json
|
||||
{
|
||||
"cursorUp": ["up", "alt+k"],
|
||||
"cursorDown": ["down", "alt+j"],
|
||||
"cursorLeft": ["left", "alt+h"],
|
||||
"cursorRight": ["right", "alt+l"],
|
||||
"cursorWordLeft": ["alt+left", "alt+b"],
|
||||
"cursorWordRight": ["alt+right", "alt+w"],
|
||||
"deleteCharBackward": ["backspace", "ctrl+h"],
|
||||
"deleteWordBackward": ["ctrl+w", "alt+backspace"]
|
||||
}
|
||||
```
|
||||
|
||||
### Bash Mode
|
||||
|
||||
Prefix commands with `!` to execute them and add output to context:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue