Created
December 23, 2016 00:46
-
-
Save magnunleno/d823974184ca48f3bde1a9b93f16b0f1 to your computer and use it in GitHub Desktop.
Tmux mouse conf for versions prior and after to 2.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if-shell '[ $(echo "$(tmux -V | cut -d" " -f2) <= 2.0" | bc) -eq 1 ]' \ | |
"set -g mouse-select-window on; set -g mouse-select-pane on; set -g mouse-resize-pane on" | |
if-shell '[ $(echo "$(tmux -V | cut -d" " -f2) >= 2.1" | bc) -eq 1 ]' \ | |
"set -g mouse on;" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment