From c964dd7181e888eacfd3f7286b2328c029a68317 Mon Sep 17 00:00:00 2001 From: steveokard Date: Wed, 13 May 2020 04:41:27 -0400 Subject: [PATCH] prefix m/M now enables/disables mouse mode --- tmux/.tmux.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 3ade4bc..60c842c 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -49,3 +49,12 @@ set -g display-panes-time 800 set -g display-time 1000 set -g status-interval 10 +# set mouse on with prefix m +bind m \ + set-option -g mouse on \;\ + display 'Mouse: ON' +# set mouse off with prefix M +bind M \ + set-option -g mouse off \;\ + display 'Mouse: OFF' +