2021-04-17 00:24:09 +02:00
|
|
|
set -g set-titles on
|
2025-01-03 22:22:05 +01:00
|
|
|
set -g default-terminal "tmux-256color"
|
2024-12-29 17:15:34 +01:00
|
|
|
set -ga terminal-overrides ",*:Tc:Se=\E[2 q"
|
2016-01-18 15:39:28 +01:00
|
|
|
set -g renumber-windows on
|
|
|
|
setw -g aggressive-resize on
|
|
|
|
setw -g automatic-rename on
|
2013-08-19 11:42:09 +02:00
|
|
|
|
2020-03-19 00:28:22 +01:00
|
|
|
# binds
|
2016-01-18 15:39:28 +01:00
|
|
|
unbind-key S
|
2013-08-19 11:42:09 +02:00
|
|
|
set -g prefix C-a
|
|
|
|
bind a send-prefix
|
|
|
|
bind c new-window
|
|
|
|
bind d detach
|
2020-03-10 15:52:57 +01:00
|
|
|
bind ^C new-window
|
|
|
|
bind ^D detach
|
2021-04-17 00:24:09 +02:00
|
|
|
bind : command-prompt
|
|
|
|
bind " " next-window
|
2013-08-19 11:42:09 +02:00
|
|
|
bind | split-window -h
|
|
|
|
bind - split-window -v
|
2024-08-06 02:04:08 +02:00
|
|
|
bind _ split-window -v
|
2013-08-19 11:42:09 +02:00
|
|
|
|
2020-03-19 00:28:22 +01:00
|
|
|
# status line
|
2020-02-05 16:46:19 +01:00
|
|
|
set -g status "on"
|
2020-03-19 00:28:22 +01:00
|
|
|
set -g status-position top
|
2021-04-17 00:24:09 +02:00
|
|
|
set -g status-style "bg=default"
|
2021-04-15 12:25:20 +02:00
|
|
|
set -g message-style "fg=default,bg=default"
|
|
|
|
set -g message-command-style "fg=default,bg=default"
|
2020-10-17 00:56:15 +02:00
|
|
|
set -g status-left ""
|
2024-11-15 15:56:51 +01:00
|
|
|
set -g status-right "#{?client_prefix,#[reverse]#[fg=color2] prefix #[noreverse],}#[fg=color6] #h "
|
2020-03-10 15:52:57 +01:00
|
|
|
setw -g window-status-separator ""
|
2023-01-27 18:09:32 +01:00
|
|
|
setw -g window-status-format "#[fg=color242,bg=default] #W "
|
2024-11-15 15:56:51 +01:00
|
|
|
setw -g window-status-current-format "#[fg=color0,bg=color6] #W "
|