a bit to perfect tmux

This commit is contained in:
Denis Zaika 2019-06-18 22:06:20 +03:00
parent 9469de7c1c
commit 20d6397e98
1 changed files with 4 additions and 0 deletions

View File

@ -1,7 +1,11 @@
if-shell "uname | grep -q FreeBSD" "source /usr/local/lib/python3.6/site-packages/powerline/bindings/tmux/powerline.conf" 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" if-shell "uname | grep -q Linux" "source /usr/share/powerline/bindings/tmux/powerline.conf"
set -g default-terminal "screen-256color" set -g default-terminal "screen-256color"
#set -g mouse on
#set -g terminal-overrides 'xterm*:smcup@:rmcup@'
set -g mouse on set -g mouse on
#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 set -g prefix C-a
bind C-a send-prefix bind C-a send-prefix
#set -g lock-command vlock #set -g lock-command vlock