38 lines
1.0 KiB
Bash
38 lines
1.0 KiB
Bash
unbind C-x
|
|
set -g prefix M-,
|
|
bind M-, send-prefix
|
|
|
|
set -g focus-events on
|
|
set-option -g default-terminal "tmux-256color"
|
|
set-option -as terminal-features ',xterm-ghostty:RGB'
|
|
set-option -g default-shell $SHELL
|
|
set -g status-style 'fg=#7FBBB3 bg=default'
|
|
set -g base-index 1
|
|
set -g pane-base-index 1
|
|
set -g detach-on-destroy off
|
|
set -g renumber-windows on
|
|
set -g set-clipboard on
|
|
set -s escape-time 0
|
|
set -g status-position top
|
|
|
|
bind -r f run-shell "tmux neww ~/.local/bin/tmux-windowizer"
|
|
bind -r v run-shell "tmux neww ~/.local/bin/tmux-sessionizer"
|
|
bind -r z run-shell "tmux kill-session"
|
|
bind -n C-h select-pane -L
|
|
bind -n C-j select-pane -D
|
|
bind -n C-k select-pane -U
|
|
bind -n C-l select-pane -R
|
|
bind -n C-S-h resize-pane -L 5
|
|
bind -n C-S-j resize-pane -D 5
|
|
bind -n C-S-k resize-pane -U 5
|
|
bind -n C-S-l resize-pane -R 5
|
|
|
|
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'
|
|
set -g @resurrect-strategy-nvim 'session'
|
|
|
|
run '$HOME/.config/tmux/plugins/tpm/tpm'
|