dotfiles/config/tmux/tmux.conf
2025-01-03 22:22:05 +01:00

33 lines
903 B
Bash

set -g set-titles on
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",*:Tc:Se=\E[2 q"
set -g renumber-windows on
setw -g aggressive-resize on
setw -g automatic-rename on
# binds
unbind-key S
set -g prefix C-a
bind a send-prefix
bind c new-window
bind d detach
bind ^C new-window
bind ^D detach
bind : command-prompt
bind " " next-window
bind | split-window -h
bind - split-window -v
bind _ split-window -v
# status line
set -g status "on"
set -g status-position top
set -g status-style "bg=default"
set -g message-style "fg=default,bg=default"
set -g message-command-style "fg=default,bg=default"
set -g status-left ""
set -g status-right "#{?client_prefix,#[reverse]#[fg=color2] prefix #[noreverse],}#[fg=color6] #h "
setw -g window-status-separator ""
setw -g window-status-format "#[fg=color242,bg=default] #W "
setw -g window-status-current-format "#[fg=color0,bg=color6] #W "