Repository navigation
🚀 Feature Request: Add Quick Session Search Interface (Ctrl+K) #3361
Description
Feature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Problem Statement
Currently, users need to navigate through multiple steps to switch
between sessions:
- Open the session list modal (via command or keybind)
- Manually scroll through potentially long session lists
- Find the desired session visually
This workflow becomes inefficient as users accumulate more sessions and
creates friction in the development flow. The existing session list
modal shows all sessions but doesn't provide quick filtering or search
capabilities.
Proposed Solution
Implement a Ctrl+K quick session search interface that provides:
• Instant access: Press Ctrl+K from anywhere in the TUI to open search
• Real-time filtering: Type to instantly filter sessions by title
• Visual indicators: Current session clearly marked with ● bullet point
• Keyboard-driven workflow: Enter to select, 'n' for new session, Esc
to cancel
• Consistent UX: Follows existing dialog patterns and styling
Why This Feature Belongs in OpenCode
- Core workflow improvement: Session switching is a fundamental
operation that happens frequently during development - Addresses user friction: Multiple related issues (Configure switch session modal keybinds #3262, allow selecting session with
/tui/select-session#2776)
indicate users want better session management - Performance enhancement: Reduces cognitive load and time spent
navigating sessions - Industry standard: Ctrl+K for search/quick switch is a familiar
pattern in modern developer tools - Scalability: Essential as users accumulate more sessions over time
Implementation Details
The feature has been implemented with:
• SessionSearchCommand with ctrl+k keybinding (no leader required for
quick access)
• Session search dialog with real-time title filtering
• Current session highlighting for better orientation
• Responsive design that adapts to terminal width
• Proper integration with existing modal system and command framework
Use Cases
• Developers with many sessions: Quickly find specific sessions without
scrolling
• Context switching: Rapidly jump between different project contexts
• Session discovery: Easily locate sessions from previous work sessions
• Workflow efficiency: Maintain focus on development rather than
navigation
Alternatives Considered
- Enhancing existing session modal: Would require more clicks and
doesn't provide instant access - Command-based session switching: Requires remembering session
names/IDs - API-only solution: Doesn't improve the TUI user experience
The proposed Ctrl+K interface provides the best balance of speed,
discoverability, and user experience.
Activity
[-][FEATURE]:[/-][+]🚀 Feature Request: Add Quick Session Search Interface (Ctrl+K)[/+]github-actions commentedon Oct 22, 2025
This issue might be a duplicate of existing issues. Please check:
/tui/select-session#2776: allow selecting session with/tui/select-session- User wants programmatic session selection API for better session management workflowFeel free to ignore if none of these address your specific case.
rekram1-node commentedon Oct 22, 2025
We actually have this in opentui version already that will ship this week
riatzukiza commentedon Oct 22, 2025
oh? XD ok. I guess I should have also searched the closed issues before posting this then.