42 lines
1.2 KiB
Bash
42 lines
1.2 KiB
Bash
# unbind C-x
|
|
unbind M-,
|
|
set -g prefix C-Space
|
|
bind C-Space send-prefix
|
|
|
|
set -g focus-events on
|
|
set -ga terminal-features ',xterm-ghostty:RGB'
|
|
set -as terminal-overrides ',xterm-ghostty:Tc'
|
|
set-option -g default-shell $SHELL
|
|
set -g status-style 'fg=#eb6f92 bg=#000000'
|
|
set -g status-left-length 100
|
|
set -g status-right-length 20
|
|
set -g status-left "#[fg=#f6c177, bold] #S #[fg=#f6c177,nobold]-> "
|
|
set -g status-right "#[fg=#eb6f92] %m-%d-%Y #[fg=#f6c177] %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-key h previous-window
|
|
bind-key l next-window
|
|
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 'christoomey/vim-tmux-navigator'
|
|
|
|
run '$HOME/.config/tmux/plugins/tpm/tpm'
|