fix(tui): remove alt+enter from newLine default keybinding

alt+enter is used by coding-agent for follow-up messages.
Having it also mapped to newLine caused a conflict.
This commit is contained in:
Mario Zechner 2026-01-05 23:17:34 +01:00
parent 9c17af9367
commit 4d87196801
2 changed files with 2 additions and 2 deletions

View file

@ -329,7 +329,7 @@ All keyboard shortcuts can be customized via `~/.pi/agent/keybindings.json`. Eac
| `deleteWordBackward` | `ctrl+w`, `alt+backspace` | Delete word backward |
| `deleteToLineStart` | `ctrl+u` | Delete to line start |
| `deleteToLineEnd` | `ctrl+k` | Delete to line end |
| `newLine` | `shift+enter`, `alt+enter` | Insert new line |
| `newLine` | `shift+enter` | Insert new line |
| `submit` | `enter` | Submit input |
| `tab` | `tab` | Tab/autocomplete |
| `interrupt` | `escape` | Interrupt operation |

View file

@ -61,7 +61,7 @@ export const DEFAULT_EDITOR_KEYBINDINGS: Required<EditorKeybindingsConfig> = {
deleteToLineStart: "ctrl+u",
deleteToLineEnd: "ctrl+k",
// Text input
newLine: ["shift+enter", "alt+enter"],
newLine: "shift+enter",
submit: "enter",
tab: "tab",
// Selection/autocomplete