set -g mouse on
set -g default-terminal "tmux-256color"
set -g terminal-features ",xterm*:Tc"
set -g terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q'
set -g status on
set -g status-left " #[fg=darkblue]#S#[fg=black] | "
set -g status-left-length 20
set -g status-right "#[fg=black] | #[fg=darkblue]%H:%M "
set -g status-right-length 35
set -g status-interval 30
set -g base-index 1
set -g pane-base-index 1
set -g history-limit 10000
set -g escape-time 0
set -g aggressive-resize on
set -g window-status-style fg=black,bg=green,bold
set -g window-status-current-style fg=black,bg=brightblue,bold
set -g mode-keys vi
set -g focus-events on

bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R

bind m   set -g mouse \; display "mouse #{?mouse,ON,OFF}"
bind C-t set -g status
bind r   source ~/.config/tmux/tmux.conf \; display-message "configuration reloaded"

bind %   split-window -h -c "#{pane_current_path}"
bind '"' split-window    -c "#{pane_current_path}"
