fix(tui): bind ctrl+j as newline by default

This commit is contained in:
Armin Ronacher
2026-06-22 13:57:02 +02:00
parent 71ca9b2b92
commit 3b56134694
6 changed files with 16 additions and 9 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ export const TUI_KEYBINDINGS = {
"tui.editor.yank": { defaultKeys: "ctrl+y", description: "Yank" },
"tui.editor.yankPop": { defaultKeys: "alt+y", description: "Yank pop" },
"tui.editor.undo": { defaultKeys: "ctrl+-", description: "Undo" },
"tui.input.newLine": { defaultKeys: "shift+enter", description: "Insert newline" },
"tui.input.newLine": { defaultKeys: ["shift+enter", "ctrl+j"], description: "Insert newline" },
"tui.input.submit": { defaultKeys: "enter", description: "Submit input" },
"tui.input.tab": { defaultKeys: "tab", description: "Tab / autocomplete" },
"tui.input.copy": { defaultKeys: "ctrl+c", description: "Copy selection" },