[PR #3362] feat: add Ctrl+K session search interface #10616

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

Original Pull Request: https://github.com/anomalyco/opencode/pull/3362

State: closed
Merged: No


Summary

Implements a quick session search interface accessible via Ctrl+K to
improve workflow efficiency when switching between sessions.

Changes

  • Add SessionSearchCommand with ctrl+k keybinding for instant
    access
  • Implement session search dialog with real-time filtering by
    session title
  • Visual indicators: Current session marked with ● bullet point and
    highlighted
  • Keyboard navigation: Enter to select, 'n' for new session, Esc to
    cancel
  • Responsive design: Adapts to terminal width and follows existing
    dialog patterns

Why This Feature

Resolves #3361 by addressing the user experience gap in session
management. Currently users must navigate through multiple steps to
switch sessions, which becomes inefficient with accumulated sessions.
This implementation provides instant, searchable access to sessions
following industry-standard Ctrl+K patterns.

Implementation Details

  • Leverages existing list.List component for consistent behavior
  • Integrates with established modal system and command framework
  • Follows existing code patterns and styling conventions
  • Filters sessions by title with real-time updates
  • Excludes child sessions (shows only parent sessions)

Closes #3361

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/3362 **State:** closed **Merged:** No --- ## Summary Implements a quick session search interface accessible via Ctrl+K to improve workflow efficiency when switching between sessions. ### Changes - **Add SessionSearchCommand** with `ctrl+k` keybinding for instant access - **Implement session search dialog** with real-time filtering by session title - **Visual indicators**: Current session marked with ● bullet point and highlighted - **Keyboard navigation**: Enter to select, 'n' for new session, Esc to cancel - **Responsive design**: Adapts to terminal width and follows existing dialog patterns ### Why This Feature Resolves #3361 by addressing the user experience gap in session management. Currently users must navigate through multiple steps to switch sessions, which becomes inefficient with accumulated sessions. This implementation provides instant, searchable access to sessions following industry-standard Ctrl+K patterns. ### Implementation Details - Leverages existing `list.List` component for consistent behavior - Integrates with established modal system and command framework - Follows existing code patterns and styling conventions - Filters sessions by title with real-time updates - Excludes child sessions (shows only parent sessions) Closes #3361
yindo added the pull-request label 2026-02-16 18:15:19 -05:00
yindo closed this issue 2026-02-16 18:15:19 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10616