opencode icon indicating copy to clipboard operation
opencode copied to clipboard

fix: restore ability to bind keys for model_cycle_favorite model_cycle_favorite_reverse (resolves #5198)

Open ariane-emory opened this issue 1 month ago • 2 comments

The ability to bind keys for @kcrommett's model_cycle_favourite / model_cycle_favorite_reverse commands was seemingly lost in a commit that occurred a day after these commands were added.

This PR restores the ability to bind these commands to keys.

No default keybinding is assigned, therefore:

  • users who want keybindings for these commands may set their preferred keys in theiropencode.json files.
  • nothing changes for users who do not choose set keys for these commands in their opencode.json file.

Resolves #5198.

ariane-emory avatar Dec 07 '25 13:12 ariane-emory

Corrupted by a bad merge, will fix.

ariane-emory avatar Dec 11 '25 00:12 ariane-emory

Fixed, uncorrupted.

ariane-emory avatar Dec 11 '25 00:12 ariane-emory

@rekram1-node Whatcha thinking about this one? I'd love to be able to have some keys that would let me start actually enjoying @kcrommett 's wonderful work on the favourite models feature, and I'm sure I'm not the only one who'd like to be able to start enjoying his work. :)

Just let me know if there's anything else I need to tidy up to make this PR mergable and I'll get straight to work on taking care of it... thanks!

ariane-emory avatar Dec 15 '25 22:12 ariane-emory

yeah should be good

rekram1-node avatar Dec 15 '25 22:12 rekram1-node

Fantastic, thanks very much!

ariane-emory avatar Dec 15 '25 22:12 ariane-emory