From 23292c95005f9652693e02215758a1aceca1713a Mon Sep 17 00:00:00 2001 From: psox Date: Mon, 18 Dec 2017 14:44:55 +0000 Subject: [PATCH] Rename TMUX config files --- etc/{tmux-2.conf => tmux-1.conf} | 9 ++++++--- etc/tmux.conf | 9 +++------ 2 files changed, 9 insertions(+), 9 deletions(-) rename etc/{tmux-2.conf => tmux-1.conf} (65%) diff --git a/etc/tmux-2.conf b/etc/tmux-1.conf similarity index 65% rename from etc/tmux-2.conf rename to etc/tmux-1.conf index 6996177..be2c6f8 100644 --- a/etc/tmux-2.conf +++ b/etc/tmux-1.conf @@ -1,7 +1,10 @@ set-option -g prefix C-a bind-key C-a last-window bind-key a send-prefix -set -g mouse off +#set -g mode-mouse off +#set -g mouse-resize-pane off +#set -g mouse-select-pane off +#set -g mouse-select-window off set -g base-index 1 set -s escape-time 0 setw -g aggressive-resize on @@ -14,7 +17,7 @@ set -g status-bg '#333333' set -g set-titles on bind-key e set-window-option synchronize-panes on bind-key E set-window-option synchronize-panes off -bind m set -g mouse on \; display 'Mouse: ON' -bind M set -g mouse off \; display 'Mouse: OFF' +bind m set -g mode-mouse on \; set -g mouse-resize-pane on \; set -g mouse-select-pane on \; set -g mouse-select-window on \; display 'Mouse: ON' +bind M set -g mode-mouse off \; set -g mouse-resize-pane off \; set -g mouse-select-pane off \; set -g mouse-select-window off \; display 'Mouse: OFF' bind + new-window -d -n tmux-zoom 'clear && echo TMUX ZOOM && read' \; swap-pane -s tmux-zoom.0 \; select-window -t tmux-zoom bind - last-window \; swap-pane -s tmux-zoom.0 \; kill-window -t tmux-zoom diff --git a/etc/tmux.conf b/etc/tmux.conf index be2c6f8..6996177 100644 --- a/etc/tmux.conf +++ b/etc/tmux.conf @@ -1,10 +1,7 @@ set-option -g prefix C-a bind-key C-a last-window bind-key a send-prefix -#set -g mode-mouse off -#set -g mouse-resize-pane off -#set -g mouse-select-pane off -#set -g mouse-select-window off +set -g mouse off set -g base-index 1 set -s escape-time 0 setw -g aggressive-resize on @@ -17,7 +14,7 @@ set -g status-bg '#333333' set -g set-titles on bind-key e set-window-option synchronize-panes on bind-key E set-window-option synchronize-panes off -bind m set -g mode-mouse on \; set -g mouse-resize-pane on \; set -g mouse-select-pane on \; set -g mouse-select-window on \; display 'Mouse: ON' -bind M set -g mode-mouse off \; set -g mouse-resize-pane off \; set -g mouse-select-pane off \; set -g mouse-select-window off \; display 'Mouse: OFF' +bind m set -g mouse on \; display 'Mouse: ON' +bind M set -g mouse off \; display 'Mouse: OFF' bind + new-window -d -n tmux-zoom 'clear && echo TMUX ZOOM && read' \; swap-pane -s tmux-zoom.0 \; select-window -t tmux-zoom bind - last-window \; swap-pane -s tmux-zoom.0 \; kill-window -t tmux-zoom