dotfiles/playbooks/roles/shell/templates/tmux.conf.j2

36 lines
814 B
Text
Raw Normal View History

set -g default-terminal "xterm-256color"
set -g default-command "${SHELL}"
set-window-option -g automatic-rename off
set-option -g allow-rename off
set-option -g renumber-windows on
set -g prefix C-a
unbind C-b
bind-key C-a send-prefix
unbind l
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind > resize-pane -R 2
bind < resize-pane -L 2
bind + resize-pane -U 2
bind - resize-pane -D 2
bind-key r clear-history
bind-key R source-file ~/.tmux.conf \; display "Reloaded config file ~/.tmux.conf"
bind-key b set status
source-file ~/.tmux/status.conf
set -g status-position bottom
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @continuum-restore 'on'
run '~/.tmux/plugins/tpm/tpm'