tmux.conf update
This commit is contained in:
parent
2c94a7d6b3
commit
55767adf6e
|
|
@ -218,4 +218,10 @@ defscrollback 30000
|
|||
|
||||
activity "Activity in %t(%n)"
|
||||
|
||||
hardstatus alwayslastline '%{= .kC}%H %{= .Kw}[%?%EESC%: %?]%{= .Bw}%?%-Lw%?%{=b .bg}[%{-b .r}%n%f%{.w} %t%{+b .g}]%{= .Bw}%{-b}%?%+Lw%?%{= .Bw} %= %{.Kw}|%{.kw} %{Y}%d-%m-%Y %c:%s'
|
||||
hardstatus alwayslastline '%{= .kC}%H%{= .Kw}[%?%EESC%: %?]%{= .Bw}%?%-Lw%?%{=b .bg}[%{-b .r}%n%f%{.w} %t%{+b .g}]%{= .Bw}%{-b}%?%+Lw%?%{= .Bw} %= %{.Kw}|%{.kw} %{Y}%d-%m-%Y %c:%s'
|
||||
|
||||
#utf8 on on
|
||||
#startup_message off
|
||||
#term "screen-256color"
|
||||
|
||||
#hardstatus alwayslastline "%{bk} %S %{kb} $LOGNAME %{bk} %H %?%{kb}%{kY} %-Lw%{Yk}%:%{Yb}%{Yk}%?%{Yk} %n%f* %t %{kY}%+Lw %-="
|
||||
|
|
|
|||
25
.tmux.conf
25
.tmux.conf
|
|
@ -1,14 +1,27 @@
|
|||
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 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
|
||||
|
||||
#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
|
||||
|
||||
# start window numbering at 1 for easier switching
|
||||
set -g base-index 1
|
||||
|
||||
# look good
|
||||
set -g default-terminal "screen-256color"
|
||||
set -g history-limit 5000
|
||||
setw -g xterm-keys 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
|
||||
|
|
|
|||
Loading…
Reference in New Issue