diff --git a/config/dot-tmux.conf b/config/dot-tmux.conf index 985d5b7..3a81bdf 100644 --- a/config/dot-tmux.conf +++ b/config/dot-tmux.conf @@ -23,6 +23,15 @@ set-option -g mouse on set-window-option -g xterm-keys on set -g history-limit 50000 +# set mouse on with prefix m +bind m \ + set-option -g mouse on \;\ + display 'Mouse: ON' +# set mouse off with prefix M +bind M \ + set-option -g mouse off \;\ + display 'Mouse: OFF' + #Powerline Settings run-shell "powerline-daemon -q" source "/usr/share/powerline/bindings/tmux/powerline.conf" @@ -40,15 +49,6 @@ set -g renumber-windows on set -g set-titles on set -g display-panes-time 800 -# set mouse on with prefix m -bind m \ - set-option -g mouse on \;\ - display 'Mouse: ON' -# set mouse off with prefix M -bind M \ - set-option -g mouse off \;\ - display 'Mouse: OFF' - #plugin settings # Prefix Highlight: 'L' for left only, 'R' for right only and 'LR' for both set -g @tmux_power_prefix_highlight_pos 'LR'