You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Add keybind to navigate between user messages #5077
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:
Detect visible message boundaries in the viewport
Snap directly to the nearest previous/next user message
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.
Reacted by atkr, Dan Brown, Ariane Emory, Daniel Mondragón, Pawel Lisewski, Kamil Chmielewski and Boris S
Activity
github-actions commentedon Dec 4, 2025
This issue might be a duplicate of existing issues. Please check:
messages_previous_user/messages_next_userkeybinds for the same functionalityFeel free to ignore if this is a refinement or implementation of those feature requests.
Add keybind to navigate between user messages - Adds configurable key…
danmondra commentedon Dec 5, 2025
This!
Although I personally would prefer just having a keybinding for moving half a viewport up and down (like Ctrl + u or Ctrl + d does in vim).