Conditional mouse enable (2.x vs 1.x)
This commit is contained in:
@@ -39,11 +39,11 @@ set -g mode-keys vi
|
|||||||
|
|
||||||
# enable mouse control (click wind, panes, resizable panes) - as of tmux 2.1
|
# enable mouse control (click wind, panes, resizable panes) - as of tmux 2.1
|
||||||
# copy/paste: shift+left click to highlight, then shift+middle to past
|
# copy/paste: shift+left click to highlight, then shift+middle to past
|
||||||
#if-shell '[ $(echo "$(tmux -V | cut -d" " -f2) >= 2.1" | bc) -eq 1 ]' \
|
if-shell '[ $(echo "$(tmux -V | cut -d" " -f2) >= 2.1" | bc) -eq 1 ]' \
|
||||||
# 'set -g mouse on' \
|
'set -g mouse on' \
|
||||||
# 'set -g mode-mouse on; set -g mouse-resize-pane on; set -g mouse-select-pane on; set -g mouse-select-window on'
|
'set -g mode-mouse on; set -g mouse-resize-pane on; set -g mouse-select-pane on; set -g mouse-select-window on'
|
||||||
|
|
||||||
set -g mouse on
|
#set -g mouse on
|
||||||
#'set -g mouse on; set -g mouse-utf8 on' \
|
#'set -g mouse on; set -g mouse-utf8 on' \
|
||||||
|
|
||||||
bind-key Tab last-window
|
bind-key Tab last-window
|
||||||
|
|||||||
Reference in New Issue
Block a user