From 20d6397e9865a075c1ffb3d23bf4350521a93a20 Mon Sep 17 00:00:00 2001 From: Denis Zaika Date: Tue, 18 Jun 2019 22:06:20 +0300 Subject: [PATCH] a bit to perfect tmux --- .tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index 3d69240..2ff7308 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -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 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 +#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