From a55000acd5750cab38e300bdef50a7167f5367f5 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Tue, 20 Oct 2015 12:18:36 -0400 Subject: [PATCH] Use the new mouse setting when enabling/disabling the mouse --- tmux.normal.conf | 4 ++-- tmux.powerline.conf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tmux.normal.conf b/tmux.normal.conf index 725d884..53db1d3 100644 --- a/tmux.normal.conf +++ b/tmux.normal.conf @@ -47,8 +47,8 @@ set-option -g mouse-utf8 on # KEY BINDINGS # # m and m to enabling and disabling the mouse respectively -bind m set-option -g mode-mouse on \; set-option -g mouse-resize-pane on \; set-option -g mouse-select-pane on \; set-option -g mouse-select-window on \; display 'Mouse: ON' -bind C-m set-option -g mode-mouse off \; set-option -g mouse-resize-pane off \; set-option -g mouse-select-pane off \; set-option -g mouse-select-window off \; display 'Mouse: OFF' +bind m set-option -g mouse on \; display 'Mouse: ON' +bind C-m set-option -g mouse off \; display 'Mouse: OFF' # # r and r to reloading ~/.tmux.conf and /etc/tmux.conf respectively bind r source-file ~/.tmux.conf diff --git a/tmux.powerline.conf b/tmux.powerline.conf index 2f634e1..c99f2a6 100644 --- a/tmux.powerline.conf +++ b/tmux.powerline.conf @@ -47,8 +47,8 @@ set-option -g mouse-utf8 on # KEY BINDINGS # # m and m to enabling and disabling the mouse respectively -bind m set-option -g mode-mouse on \; set-option -g mouse-resize-pane on \; set-option -g mouse-select-pane on \; set-option -g mouse-select-window on \; display 'Mouse: ON' -bind C-m set-option -g mode-mouse off \; set-option -g mouse-resize-pane off \; set-option -g mouse-select-pane off \; set-option -g mouse-select-window off \; display 'Mouse: OFF' +bind m set-option -g mouse on \; display 'Mouse: ON' +bind C-m set-option -g mouse off \; display 'Mouse: OFF' # # r and r to reloading ~/.tmux.conf and /etc/tmux.conf respectively bind r source-file ~/.tmux.conf