[PR #1778] [MERGED] Feat: Add F2 Keybind to Cycle Through the 5 Most Recent Models #10061

Closed
opened 2026-02-16 18:14:38 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1778
Author: @spoons-and-mirrors
Created: 8/10/2025
Status: Merged
Merged: 8/11/2025
Merged by: @adamdotdevin

Base: devHead: feat/keybind-model-cycle


📝 Commits (1)

  • 28bbe24 feat: add F2 keybind to cycle through the 5 most recent models

📊 Changes

3 files changed (+44 additions, -0 deletions)

View changed files

📝 packages/tui/internal/app/app.go (+33 -0)
📝 packages/tui/internal/commands/command.go (+6 -0)
📝 packages/tui/internal/tui/tui.go (+5 -0)

📄 Description

Summary

• Adds the ability to cycle through the 5 most recently used models in the TUI app
• Introduces CycleRecentModel method to App
• Registers a new command model_cycle_recent with F2 default keybinding

image

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/1778 **Author:** [@spoons-and-mirrors](https://github.com/spoons-and-mirrors) **Created:** 8/10/2025 **Status:** ✅ Merged **Merged:** 8/11/2025 **Merged by:** [@adamdotdevin](https://github.com/adamdotdevin) **Base:** `dev` ← **Head:** `feat/keybind-model-cycle` --- ### 📝 Commits (1) - [`28bbe24`](https://github.com/anomalyco/opencode/commit/28bbe24da4aa0e5e415afe3831bf09dd519f58bc) feat: add F2 keybind to cycle through the 5 most recent models ### 📊 Changes **3 files changed** (+44 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/tui/internal/app/app.go` (+33 -0) 📝 `packages/tui/internal/commands/command.go` (+6 -0) 📝 `packages/tui/internal/tui/tui.go` (+5 -0) </details> ### 📄 Description ## Summary • Adds the ability to cycle through the 5 most recently used models in the TUI app • Introduces `CycleRecentModel` method to App • Registers a new command model_cycle_recent with `F2` default keybinding <img width="321" height="494" alt="image" src="https://github.com/user-attachments/assets/b93a2de3-e4b8-4d42-aa7b-c0be1d27adab" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:38 -05:00
yindo closed this issue 2026-02-16 18:14:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10061