Skip to content

Add Mouse toggle to tmux Actions display-menu#246

Merged
tamakiii merged 1 commit intomainfrom
add/tmux-mouse-toggle-menu
Apr 30, 2026
Merged

Add Mouse toggle to tmux Actions display-menu#246
tamakiii merged 1 commit intomainfrom
add/tmux-mouse-toggle-menu

Conversation

@tamakiii-doppelganger
Copy link
Copy Markdown
Contributor

Summary

  • Add a "Mouse" entry to the bind a Actions menu so C-b a m toggles set -g mouse and reports the new state.
  • Move "Claude send" off m (which is now Mouse) onto t ("tell").
  • Routing the toggle through display-menu avoids overriding the default bind m ("Toggle the marked pane") that a top-level rebind would clobber.

Test plan

  • tmux source-file ~/.config/tmux/tmux.conf reloads without errors.
  • C-b a shows "Mouse" alongside "Rename sessions" above the separator and "Claude status / panes / send / launch" below.
  • C-b a m toggles mouse mode and displays Mouse: on / Mouse: off.
  • C-b a t still opens the Claude send prompt.
  • C-b m still toggles the marked pane (default binding intact).

🤖 Generated with Claude Code

Bind C-b a m to toggle "set -g mouse" with a status message, and move
"Claude send" to "t" since "m" was already taken there. Avoids overriding
tmux's default bind m ("Toggle the marked pane") that a top-level rebind
would clobber.

Co-Authored-By: Claude <noreply@anthropic.com>
@tamakiii tamakiii merged commit 4eadf90 into main Apr 30, 2026
1 check passed
@tamakiii tamakiii deleted the add/tmux-mouse-toggle-menu branch April 30, 2026 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement tamakiii/dotfiles From tamakiii/dotfiles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants