Skip to content

[FEATURE]: Add quick “last session” switch keybinding #26172

Closed as not planned

Description

@DamianB-BitFlipper

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

Description

Currently, switching between sessions requires opening the session list dialog (ctrl-x l), navigating to the desired session, and pressing Enter. This is cumbersome when frequently switching between two sessions. My usual flow is to have two LLMs running at the same time in the same opencode instance.

Proposed Solution

Add a session_last keybinding (o / ctrl-x o) to quickly switch to the previously viewed session, similar to Emacs's C-x o for switching windows.

The feature should:

Track the previous session ID in memory (ephemeral, resets on restart)
Allow instant switching with a single keybind
Only be available when a previous session exists

Activity

  1. github-actions commented on May 7, 2026

    @github-actions
    Contributor

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

    For keybind-related issues, please also check our pinned keybinds documentation: #4997

  2. github-actions commented on Jul 8, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions