51 lines · 1.2 KB
# Change the prefix
# https://gist.github.com/andreyvit/2921703
#set -g prefix C-a
#bind C-a send-prefix
#unbind C-b

set -g mouse on

bind-key r source-file ~/.tmux.conf \; display-message "Configuration reloaded"

# Truecolor support.
#
# See also some Kitty notes on the subject:
# https://github.com/kovidgoyal/kitty/issues/312
set -g default-terminal "xterm-256color"
set -ga terminal-overrides ",xterm-*:Tc"

set-option -g status-position bottom

set -g status-right '(#T) %d %B %Y %l:%M %p'

# default statusbar colors
set-option -g status-bg colour235
set-option -g status-fg colour241

# default window title colors
set-window-option -g window-status-format ' #I #W #F '

# active window title colors
set-window-option -g window-status-current-format '#[bg=colour190,fg=colour22,bold] #I #W #F '

# pane number display
set-option -g display-panes-active-colour colour33
set-option -g display-panes-colour colour166

bind -n m-h select-pane -L
bind -n m-j select-pane -D
bind -n m-k select-pane -U
bind -n m-l select-pane -R
bind -n m-[ previous-window