:q no longer quits the program when entered into the main text prompt #2457

Closed
opened 2026-02-16 17:35:43 -05:00 by yindo · 4 comments
Owner

Originally created by @jwinpbe on GitHub (Nov 1, 2025).

Originally assigned to: @thdxr on GitHub.

Description

My vim motions.... gone...

OpenCode version

1.0.9

Steps to reproduce

type :q into the text prompt in opencode and it sends :q to the model instead of gracefully exiting the program

Screenshot and/or share link

No response

Operating System

Arch btw

Terminal

kitty

Originally created by @jwinpbe on GitHub (Nov 1, 2025). Originally assigned to: @thdxr on GitHub. ### Description My vim motions.... gone... ### OpenCode version 1.0.9 ### Steps to reproduce type :q into the text prompt in opencode and it sends `:q` to the model instead of gracefully exiting the program ### Screenshot and/or share link _No response_ ### Operating System Arch btw ### Terminal kitty
yindo added the opentuibug labels 2026-02-16 17:35:43 -05:00
yindo closed this issue 2026-02-16 17:35:43 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 1, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #3679: Similar issue about missing /quit and /exit commands in v1.0.x
  • #3689: Reports that typing 'exit' doesn't close OpenCode in v1.0.x
  • #366: Original feature request for :q vim-like quit functionality
  • #925: General request for better quit support (ctrl+D, /quit commands)

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 1, 2025): This issue might be a duplicate of existing issues. Please check: - #3679: Similar issue about missing /quit and /exit commands in v1.0.x - #3689: Reports that typing 'exit' doesn't close OpenCode in v1.0.x - #366: Original feature request for :q vim-like quit functionality - #925: General request for better quit support (ctrl+D, /quit commands) Feel free to ignore if none of these address your specific case.
Author
Owner

@scottrbaxter commented on GitHub (Nov 3, 2025):

Had been using (up to) 0.15.29 until upgrading to 1.0.15 last night... i was able to simply type q <enter> and opencode would quit. this is slightly different than the /q alias, and tbh, was incredibly convenient. i've now accidentally sent q to a model more times than i can count.

muscle memory is hard. wondering if this could also be reinstated along with the requested aliases above... perhaps this is already included?

honestly, i'd love to see it smart enough to accept single character commands, like q to quit, e to open editor, s to list sessions, etc. alongside slash commands. i could see that being incredibly valuable, and not intrusive in any meaningful way.

side note...really really wish there was support for Apple's command key.

@scottrbaxter commented on GitHub (Nov 3, 2025): Had been using (up to) `0.15.29` until upgrading to `1.0.15` last night... i was able to simply type `q <enter>` and opencode would quit. this is slightly different than the `/q` alias, and tbh, was incredibly convenient. i've now accidentally sent `q` to a model more times than i can count. muscle memory is hard. wondering if this could also be reinstated along with the requested aliases above... perhaps this is already included? honestly, i'd love to see it smart enough to accept single character commands, like `q` to quit, `e` to open editor, `s` to list sessions, etc. alongside slash commands. i could see that being incredibly valuable, and not intrusive in any meaningful way. side note...really really wish there was support for [Apple's command key](https://github.com/sst/opencode/issues/653).
Author
Owner

@thdxr commented on GitHub (Nov 3, 2025):

yeah we'll fix it

@thdxr commented on GitHub (Nov 3, 2025): yeah we'll fix it
Author
Owner

@thdxr commented on GitHub (Nov 3, 2025):

btw command keys should work now - think they're mapped to super

@thdxr commented on GitHub (Nov 3, 2025): btw command keys should work now - think they're mapped to `super`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2457