Skip to content

Move the session quit key from C-q X to C-q C-x - #599

Merged
ikuwow merged 1 commit into
mainfrom
quit-key-ctrl-x
Nov 22, 2026
Merged

ikuwow merged 1 commit into
mainfrom
quit-key-ctrl-x

Conversation

@ikuwow

@ikuwow ikuwow commented Nov 22, 2026

Copy link
Copy Markdown
Owner

Purpose

The session quit key moves from C-q X to C-q C-x. Shift+x after the prefix is awkward to type, and a slip to the lowercase C-q x opens a kill-pane prompt that, answered with y, removes only the current pane, which reads as a quit that stopped after one pane.

Key changes

  • C-q C-x is typed with Ctrl held, as the tab keys C-q C-t, C-a, C-n, and C-p are, and leaves C-q X unbound, so one key quits the session

Verification

  • A private tmux server loading the changed tmux.conf lists the quit binding under prefix C-x, and tmux list-keys -T prefix X exits 1 with unknown key: X
  • After tmux source-file ~/.config/tmux/tmux.conf, C-q C-x, then y, in an ide session closes every pane — needs the user's running tmux server, which reloading changes; a server started before this change keeps its X binding 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

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
@ikuwow
ikuwow marked this pull request as ready for review November 22, 2026 02:39
@ikuwow
ikuwow merged commit a506bf6 into main Nov 22, 2026
7 checks passed
@ikuwow
ikuwow deleted the quit-key-ctrl-x branch November 22, 2026 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant