47 lines
1.2 KiB
Bash
47 lines
1.2 KiB
Bash
unbind M-,
|
|
set -g prefix C-Space
|
|
bind C-Space send-prefix
|
|
|
|
set -g default-shell $SHELL
|
|
set -s escape-time 0
|
|
set -g focus-events on
|
|
set -g set-clipboard on
|
|
set -g detach-on-destroy off
|
|
|
|
set -ga terminal-features ',xterm-ghostty:RGB'
|
|
set -as terminal-overrides ',xterm-ghostty:Tc'
|
|
|
|
set -g base-index 1
|
|
set -g pane-base-index 1
|
|
set -g renumber-windows on
|
|
|
|
set -g status off
|
|
set -g status-position top
|
|
set -g status-justify centre
|
|
set -g status-style bg=default
|
|
|
|
set -g status-left-length 40
|
|
set -g status-left "#{?client_prefix,#[fg=colour234]#[bg=colour6]#[bold] #S #[bg=default]#[nobold],#[fg=color242]#[bg=default]#S }"
|
|
set -g status-right ""
|
|
|
|
set -g window-status-separator " "
|
|
set -g window-status-format "#[fg=color242]#I:#W"
|
|
set -g window-status-current-format "#[fg=colour3 bold]#I:#W"
|
|
|
|
set -g message-style 'fg=colour3 bg=default bold'
|
|
|
|
bind-key h previous-window
|
|
bind-key l next-window
|
|
bind-key z resize-pane -Z
|
|
bind-key b set-option -g status
|
|
bind -r v run-shell "tmux neww ~/.local/bin/tmux-sessionizer"
|
|
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'
|