Files
dotfiles/.config/tmux/tmux.conf
T
2025-11-24 17:53:19 -05:00

44 lines
1.2 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=#ff757f bg=default'
set -g status-left-length 100
set -g status-right-length 20
set -g status-left "#[fg=#828bb8, bold] #S #[fg=#828bb8,nobold]- "
set -g status-right "#[fg=#ff757f] %m-%d-%Y #[fg=#828bb8] %H:%M"
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-key z resize-pane -Z
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'