1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 20:35:11 +01:00

Better fix for mouse support and toggling

This commit is contained in:
2016-04-26 14:45:46 +02:00
parent 17d575a419
commit 3e13536ce9

View File

@@ -96,19 +96,19 @@ set -g update-environment -r
setw -g xterm-keys on
# Mouse support for resizing and selecting panes, default to off
set -g mouse-utf8 off
set -g mouse off
# toggle mouse mode to allow mouse copy/paste
# set mouse on with prefix m
bind m \
set -g mouse on \;\
set -g mouse-utf8 on \;\
display 'Mouse: ON'
# set mouse off with prefix M
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 \;\
set -g mouse off \;\
set -g mouse-utf8 off \;\
display 'Mouse: OFF'
# zoom this pane to full screen
bind + \