45 lines
1.2 KiB
Django/Jinja
45 lines
1.2 KiB
Django/Jinja
# Reload the config with the "r" key
|
|
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
|
|
|
|
# No automatic renaming of windows
|
|
set automatic-rename off
|
|
|
|
# Enable 256-color terminal
|
|
set default-terminal "screen-256color"
|
|
|
|
# Set titles to be informative
|
|
set set-titles on
|
|
set set-titles-string "tmux: [#H] [#S] [#W:#D #I:#P]"
|
|
|
|
# Change pane colors
|
|
set -g pane-border-fg colour237
|
|
set -g pane-active-border-fg colour199
|
|
|
|
# Tweak currently active window
|
|
setw window-status-current-fg colour236
|
|
setw window-status-current-bg colour199
|
|
setw window-status-current-format " #F[#W] "
|
|
setw window-status-current-attr none
|
|
|
|
# Tweak display of window overview
|
|
setw window-status-format " #F[#W][#I] "
|
|
setw window-status-bg colour237
|
|
setw window-status-fg colour255
|
|
|
|
# Tweak status line design
|
|
set status-bg colour235
|
|
set status-fg colour199
|
|
set status-justify centre
|
|
set status-left " [#H] [#S] "
|
|
set status-left-length 100
|
|
set status-right '[FFKA: #(ip addr show freifunk | grep inet6 | grep -v fe80 | cut -d/ -f1 | cut -d " " -f6)] [%Y-%m-%d %H:%M.%S]'
|
|
# Refresh status bar every 2s
|
|
set status-interval 2
|
|
|
|
# Set some helpful limits & modes
|
|
set -g mouse on
|
|
set -g history-limit 50000
|
|
|
|
# Initialize tmux-plugin-manager
|
|
run '~/.tmux/plugins/tpm/tpm'
|