added plugin manager support to tmux

* ...and some plugins
* increased scrollback to 100k lines (still not enough sometimes)
* set default terminal variable to something somewhat less obscure
This commit is contained in:
surtur 2019-12-08 02:53:03 +01:00
parent 3ea7e248f6
commit 8d0dee44f8
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -7,7 +7,7 @@ set-option -g set-titles on
set-option -g allow-rename on
set -g status-keys vi
set -g history-limit 10000
set -g history-limit 100000
setw -g mouse on
setw -g mode-keys vi
@ -39,7 +39,7 @@ bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
# Colors
# How to use true colors in vim under tmux? #1246 for 2.6 and higher
# https://github.com/tmux/tmux/issues/1246:
set -g default-terminal "tmux-256color"
set -g default-terminal "xterm-256color"
set -ga terminal-overrides ",*256col*:Tc"
# THEME
@ -50,5 +50,14 @@ setw -g status-bg colour237
setw -g status-fg colour39
set -g status-interval 60
set -g status-left-length 30
set -g status-left '#[fg=green,bold](#S) #(whoami) '
set -g status-left '#[fg=green,bold](#S) '# #(whoami) '
set -g status-right '#[fg=yellow]#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[fg=white]%a %H:%M#[default]'
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-resurrect'
if "test ! -d ~/.tmux/plugins/tpm" \
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run -b '~/.tmux/plugins/tpm/tpm'