From 97bb411988d4d8dec5f531b390b86530af755718 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Sat, 3 Jan 2026 23:44:40 +0100 Subject: [PATCH] Add Vim-style keybindings example to README --- packages/coding-agent/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/packages/coding-agent/README.md b/packages/coding-agent/README.md index 1d99f256..ba0c3b15 100644 --- a/packages/coding-agent/README.md +++ b/packages/coding-agent/README.md @@ -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: