feat(tui): make reasoning shortcuts configurable

This commit is contained in:
Felipe Coury
2026-04-23 10:35:35 -03:00
parent 4b478b593f
commit 2ddac81e43
20 changed files with 327 additions and 109 deletions
+7 -1
View File
@@ -18,7 +18,7 @@
[tui.keymap]
# Preset alias for built-in defaults.
# "latest" currently points to "v3".
# "latest" currently points to "v4".
preset = "latest"
[tui.keymap.global]
@@ -42,11 +42,17 @@ toggle_shortcuts = ["?", "shift-?"]
# Toggle Vim mode for the composer input.
# Empty list keeps this unbound by default.
toggle_vim_mode = []
# Lower active reasoning level when possible.
reasoning_down = "alt-,"
# Raise active reasoning level when possible.
reasoning_up = "alt-."
[tui.keymap.chat]
# Overrides [tui.keymap.global] for chat-only behavior.
edit_previous_message = "esc"
confirm_edit_previous_message = "enter"
reasoning_down = "alt-,"
reasoning_up = "alt-."
[tui.keymap.composer]
# Overrides [tui.keymap.global] for composer behavior.