Skip to content

Add keybinding for toggle thinking display#152

Open
ariane-emory wants to merge 4 commits intodevfrom
feat/keybindable-hide-show-thinking-toggle
Open

Add keybinding for toggle thinking display#152
ariane-emory wants to merge 4 commits intodevfrom
feat/keybindable-hide-show-thinking-toggle

Conversation

@ariane-emory
Copy link
Owner

Adds a configurable keybinding for toggling thinking blocks visibility. The "Hide thinking"/"Show thinking" command previously had no keybinding.

  • Added `thinking_toggle` field to Keybinds schema (default: ctrl+alt+t)
  • Connected keybind to session toggle thinking command
  • Updated documentation with default keybinding
  • Users can remap in opencode.json config

What does this PR do?

Please provide a description of the issue (if there is one), the changes you made to fix it, and why they work. It is expected that you understand why your changes work and if you do not understand why at least say as much so a maintainer knows how much to value the pr.

If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!

How did you verify your code works?

Adds a configurable keybinding for toggling thinking blocks visibility.
The "Hide thinking"/"Show thinking" command previously had no keybinding.

- Added \`thinking_toggle\` field to Keybinds schema (default: ctrl+alt+t)
- Connected keybind to session toggle thinking command
- Updated documentation with default keybinding
- Users can remap in opencode.json config
The keybinding is now unbound by default, allowing users to
configure it only if they choose to add a key binding.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant