Skip to content

[FEATURE]: Add keybind to navigate between user messages #5077

@will-marella

Description

@will-marella

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

Currently, navigating between user messages in long conversations is challenging. Page up/down scrolls incrementally, and it's easy to overshoot past your own messages when AI outputs are very long.

Proposed Solution: Add a configurable keybind that jumps directly to the previous/next user message in the chat. The feature would:

  1. Detect visible message boundaries in the viewport
  2. Snap directly to the nearest previous/next user message
  3. If the target message isn't visible yet, scroll by one viewport height to load more messages

My proposed solution snaps directly to the nearest previous/user message even for very long messages that are well out of user view.

Behavior:

  • If the user is at the most recent message, it will default to page down.
  • If at the end of scroll (no more space), it will have no effect.
  • Works smoothly with very long outputs (tested with 6000+ lines in VSCode and Ghostty)

Other details:

  • Keybind will default to "none" to avoid collisions with existing shortcuts
  • PR will included updated keybinds documentation for easy configuration

I have a working implementation ready and will submit a PR shortly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionUsed for feature requests, proposals, ideas, etc. Open discussion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions