|
|
|
# Improve Colors
|
|
|
|
set -g default-terminal "screen-256color"
|
|
|
|
|
|
|
|
# Set scrollback buffer
|
|
|
|
set -g history-limit 10000
|
|
|
|
|
|
|
|
# Set display time to be longer to allow selecting
|
|
|
|
set -g display-panes-time 5000
|
|
|
|
|
|
|
|
# setup automatic renaming
|
|
|
|
set -g automatic-rename on
|
|
|
|
|
|
|
|
# setting up TPM
|
|
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
|
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
|
|
|
|
|
|
# status bar
|
|
|
|
set -g @plugin 'thewtex/tmux-mem-cpu-load'
|
|
|
|
|
|
|
|
# status config
|
|
|
|
set -g status-interval 5
|
|
|
|
set -g status-right "#[bg=black]#(~/.tmux/plugins/tmux-mem-cpu-load/tmux-mem-cpu-load -p -i 1 -a 1)#[default] %a %l:%M "
|
|
|
|
set -g status-right-length 100
|
|
|
|
set -g status-left "#[bg=black,fg=white]#(~/.dotfiles/bin/weather/weather) | #[default] "
|
|
|
|
set -g status-left-length 20
|
|
|
|
|
|
|
|
# tmux auto start
|
|
|
|
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
|
|
|
set -g @plugin 'tmux-plugins/tmux-continuum'
|
|
|
|
|
|
|
|
# ressurct config
|
|
|
|
set -g @continuum-save-interval 10
|
|
|
|
set -g @continuum-boot 'on'
|
|
|
|
set -g @resurrect-capture-pane-contents 'on'
|
|
|
|
set -g @resurrect-strategy-vim 'session'
|
|
|
|
|
|
|
|
# run tpm
|
|
|
|
run '~/.tmux/plugins/tpm/tpm'
|
|
|
|
#-#-# start_of_ranger_tmux_config #-#-#
|
|
|
|
bind-key Bspace run-shell -b '/usr/bin/python3 -m ranger_tmux.drop'
|
|
|
|
#-#-# end_of_ranger_tmux_config #-#-#
|