From 01b1fffe2474ea330b0f9391d0e4c83b46afd0d6 Mon Sep 17 00:00:00 2001 From: tamakiii <264325+tamakiii@users.noreply.github.com> Date: Fri, 1 May 2026 00:18:23 +0900 Subject: [PATCH] Add Mouse toggle entry to tmux Actions display-menu 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 --- .config/tmux/tmux.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index c6395e8f..658731cc 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -85,8 +85,9 @@ bind W choose-tree -Zw bind C run-shell 'tmux-claude-panes' bind a display-menu -T "Actions" \ "Rename sessions" r "run-shell 'tmux-rename-sessions'" \ + "Mouse" m "set -g mouse \\; display-message 'Mouse: #{?mouse,on,off}'" \ "" \ "Claude status" s "display-popup -w 80% -h 60% -E 'tmux-claude-status | column -t | less -R'" \ "Claude panes" c "run-shell 'tmux-claude-panes'" \ - "Claude send" m "command-prompt -p 'target:,message:' 'run-shell \"tmux-claude-send %1 \\\"%2\\\"\"'" \ + "Claude send" t "command-prompt -p 'target:,message:' 'run-shell \"tmux-claude-send %1 \\\"%2\\\"\"'" \ "Claude launch" l "command-prompt -p 'target:' 'run-shell \"tmux-claude-launch %1\"'"