Add Alt+Shift+Up/Down to cycle through your editable messages#248
Open
mwaddip wants to merge 1 commit into
Open
Add Alt+Shift+Up/Down to cycle through your editable messages#248mwaddip wants to merge 1 commit into
mwaddip wants to merge 1 commit into
Conversation
Lets keyboard-only users step through their own editable messages without a mouse: - Alt+Shift+Up edits the most recent editable message, then walks to older ones on each press (stops at the oldest). - Alt+Shift+Down walks to newer ones and exits edit mode past the newest. - Jumping away from an edit with unsaved changes shows the existing "Cancel editing?" confirmation. Implemented in HistoryWidget alongside the existing Ctrl+Up/Down reply cycling, reusing History::lastEditableMessage and the displayed-message traversal. Ctrl+Shift+Up/Down was avoided because it is already bound to folder navigation. Main chat only; ComposeControls surfaces are unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
fadf2a5 to
734e649
Compare
|
I'm really looking forward to this feature. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Why
Requested by a keyboard-only user: the Up arrow already edits the last message and Ctrl+Up/Down cycles reply targets, but there was no way to walk through your own messages to edit them.
Notes
HistoryWidgetalongside the existing Ctrl+Up/Down reply-cycling; reusesHistory::lastEditableMessageand the displayed-message traversal, so grouped/album messages resolve throughfindItemToEditlike the existing edit path.Ctrl+Shift+Up/Down(the natural sibling chord) was avoided because it's already bound to folder navigation;Alt+Shift+Up/Downis unbound.HistoryWidget) only. TheComposeControlssurfaces (topics/threads/scheduled) are untouched and could be a follow-up.🤖 Generated with Claude Code