Repository navigation
Move the session quit key from C-q X to C-q C-x - #599
Merged
Merged
Conversation
C-q C-x is typed with Ctrl held, as the tab keys are, and its hand motion stays apart from C-q x, whose kill-pane prompt answered with y removes only the current pane. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018Xu7qEsW42tJsJTDUBXwJK
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.
Purpose
The session quit key moves from
C-q XtoC-q C-x. Shift+x after the prefix is awkward to type, and a slip to the lowercaseC-q xopens akill-paneprompt that, answered withy, removes only the current pane, which reads as a quit that stopped after one pane.Key changes
C-q C-xis typed with Ctrl held, as the tab keysC-q C-t,C-a,C-n, andC-pare, and leavesC-q Xunbound, so one key quits the sessionVerification
tmux.conflists the quit binding underprefix C-x, andtmux list-keys -T prefix Xexits 1 withunknown key: Xtmux source-file ~/.config/tmux/tmux.conf,C-q C-x, theny, in an ide session closes every pane — needs the user's running tmux server, which reloading changes; a server started before this change keeps itsXbinding until it restarts, since a setting removed from the file keeps its old value until the server restarts (xdg-config/tmux/README.md)🤖 Generated with Claude Code
https://claude.ai/code/session_018Xu7qEsW42tJsJTDUBXwJK