2022-03-12 23:17:27 +01:00
|
|
|
set -g default-terminal "tmux-256color"
|
2020-10-11 15:09:15 +02:00
|
|
|
set -g default-command "${SHELL}"
|
|
|
|
|
|
|
|
set-window-option -g automatic-rename off
|
|
|
|
set-option -g allow-rename off
|
|
|
|
set-option -g renumber-windows on
|
|
|
|
|
2020-10-11 22:36:13 +02:00
|
|
|
set -g prefix C-a
|
|
|
|
unbind C-b
|
|
|
|
bind-key C-a send-prefix
|
|
|
|
|
2020-10-11 15:09:15 +02:00
|
|
|
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
|
|
|
|
|
2022-03-12 23:17:27 +01:00
|
|
|
bind-key 'C-,' previous-window
|
|
|
|
bind-key 'C-.' next-window
|
|
|
|
|
2020-10-11 15:09:15 +02:00
|
|
|
bind-key r clear-history
|
|
|
|
bind-key R source-file ~/.tmux.conf \; display "Reloaded config file ~/.tmux.conf"
|
|
|
|
bind-key b set status
|
2020-11-13 09:17:53 +01:00
|
|
|
bind-key P command-prompt -p 'save history to filename:' -I '~/tmux.history' 'capture-pane -S - ; save-buffer %1 ; delete-buffer'
|
2020-10-11 15:09:15 +02:00
|
|
|
|
|
|
|
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'
|
|
|
|
|
2021-01-25 12:19:56 +01:00
|
|
|
run '~/.tmux/plugins/tpm/tpm'
|