.tmux.conf (1949B)
- set -g mouse on
- set -g renumber-windows on
- set -g set-titles on
- set -g default-terminal "tmux-256color"
- set -g mode-keys vi
- set -g status-left '#[session_id]#[S]#[T] '
- set -g status-right ' #H'
- set -g status-right-length 70
- set -g base-index 1
- set -g set-clipboard external
- bind-key -n M-q kill-pane \; select-layout
- bind-key -n M-n split-window \; select-layout
- bind-key -n M-d select-layout tiled
- bind-key -n M-s select-layout main-vertical \; swap-pane -s 0
- bind-key -n M-m select-layout main-horizontal \; swap-pane -s 0
- bind-key -n M-h select-pane -L
- bind-key -n M-j select-pane -D
- bind-key -n M-k select-pane -U
- bind-key -n M-l select-pane -R
- set-option escape-time 2
- # copy some of the environment (I wish it would copy everything by default...)
- set -g update-environment \
- "DISPLAY WINDOWID XAUTHORITY \
- WAYLAND_DISPLAY \
- XDG_RUNTIME_DIR \
- GDK_BACKEND QT_QPA_PLATFORM CLUTTER_BACKEND SDL_VIDEODRIVER \
- "
- #### COLOUR (Solarized dark)
- # default statusbar colors
- set-option -g status-style none,bg=black #base02
- %if #{==:#{host},hp2125}
- set-option -ga status-style fg=white
- %elif #{==:#{host},NightmareMoon}
- set-option -ga status-style fg=yellow
- %else
- set-option -ga status-style fg=red
- %endif
- # default window title colors
- set-window-option -g window-status-style fg=brightblue #base0
- set-window-option -ga window-status-style bg=default
- # active window title colors
- set-window-option -g window-status-current-style fg=brightred #orange
- set-window-option -ga window-status-current-style bg=default
- # pane border
- set-option -g pane-border-style fg=black #base02
- set-option -g pane-active-border-style fg=brightgreen #base01
- # message text
- set-option -g message-style bg=black #base02
- set-option -g message-style fg=brightred #orange
- # pane number display
- set-option -g display-panes-active-colour blue #blue
- set-option -g display-panes-colour brightred #orange
- # clock
- set-window-option -g clock-mode-colour green #green