summaryrefslogtreecommitdiffhomepage
path: root/packages/tui/internal/commands/command.go
diff options
context:
space:
mode:
Diffstat (limited to 'packages/tui/internal/commands/command.go')
-rw-r--r--packages/tui/internal/commands/command.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/tui/internal/commands/command.go b/packages/tui/internal/commands/command.go
index 516caab79..fff547543 100644
--- a/packages/tui/internal/commands/command.go
+++ b/packages/tui/internal/commands/command.go
@@ -119,6 +119,7 @@ const (
SessionCompactCommand CommandName = "session_compact"
SessionExportCommand CommandName = "session_export"
ToolDetailsCommand CommandName = "tool_details"
+ ThinkingBlocksCommand CommandName = "thinking_blocks"
ModelListCommand CommandName = "model_list"
AgentListCommand CommandName = "agent_list"
ModelCycleRecentCommand CommandName = "model_cycle_recent"
@@ -246,6 +247,12 @@ func LoadFromConfig(config *opencode.Config) CommandRegistry {
Trigger: []string{"details"},
},
{
+ Name: ThinkingBlocksCommand,
+ Description: "toggle thinking blocks",
+ Keybindings: parseBindings("<leader>b"),
+ Trigger: []string{"thinking"},
+ },
+ {
Name: ModelListCommand,
Description: "list models",
Keybindings: parseBindings("<leader>m"),