summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrahmajit Das <listout@listout.xyz>2025-04-21 03:53:36 +0000
committerBrahmajit Das <listout@listout.xyz>2025-04-21 03:53:36 +0000
commitf903b83ccc717fb9b4ac3bdc400baade06809092 (patch)
tree736fa38d038f602f97a94a07de39817268b80797
parente4022249fd2edf1685e312da559bac76a48d24a0 (diff)
downloaddots-f903b83ccc717fb9b4ac3bdc400baade06809092.tar.gz
tmux: add option for toggling mouse
m can be used to toggle mouse Signed-off-by: Brahmajit Das <listout@listout.xyz>
-rw-r--r--.tmux.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/.tmux.conf b/.tmux.conf
index 54905a1..02ad84c 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -9,6 +9,9 @@ bind C-a send-prefix
# use mouse to scroll
set -g mouse on
+# Use m to toggle mouse mode
+unbind m
+bind m setw mouse
# set clipboard on
set-option -g set-clipboard external