fix mouse in tmux
This commit is contained in:
parent
7eb423e031
commit
daab465a8a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue