From 9913690c0f117425282044701bb5c74be12d524f Mon Sep 17 00:00:00 2001 From: Denis Zaika Date: Wed, 26 Jun 2019 21:00:41 +0300 Subject: [PATCH] update --- .tmux.conf | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index ed4c7cb..029c40e 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,16 +1,18 @@ 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" + +# xterm-like mouse wheel scrolling and copy/paste #set -g mouse on set -g terminal-overrides 'xterm*:smcup@:rmcup@' -set -g prefix C-a +# screen-like prefix key with nested windows prefixes +set -g prefix C-a #bind C-a send-prefix bind-key a send-prefix # force a reload of the config file -unbind r -bind r source-file ~/.tmux.conf +#unbind r +#bind r source-file ~/.tmux.conf # start window numbering at 1 for easier switching set -g base-index 1 @@ -19,9 +21,12 @@ set -g base-index 1 set -g default-terminal "screen-256color" set -g history-limit 5000 setw -g xterm-keys on +set -g allow-rename on +setw -g alternate-screen off + +# UTF is great, let us use that +#set -g utf8 +#setw -g utf8 on -#set -g prefix C-a -#bind C-a send-prefix #set -g lock-command vlock set -g lock-after-time 3600 # Seconds; 0 = never -set-window-option -g alternate-screen off