fix mouse in tmux

This commit is contained in:
zaika 2019-06-19 17:29:25 +03:00
parent 7eb423e031
commit daab465a8a
1 changed files with 3 additions and 2 deletions

View File

@ -1,11 +1,12 @@
if-shell "uname | grep -q FreeBSD" "source /usr/local/lib/python3.6/site-packages/powerline/bindings/tmux/powerline.conf"
if-shell "uname | grep -q Linux" "source /usr/share/powerline/bindings/tmux/powerline.conf"
set -g default-terminal "screen-256color"
#set -g mouse on
#set -g terminal-overrides 'xterm*:smcup@:rmcup@'
set -g mouse on
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
#sane scrolling:
#bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e; send-keys -M'"
set -g prefix C-a
bind C-a send-prefix
#set -g lock-command vlock