set -g default-terminal "tmux-256color" #some vi behaviour bind-key -r h select-pane -L bind-key -r j select-pane -D bind-key -r k select-pane -U bind-key -r l select-pane -R bind-key v split-window -h bind-key s split-window -v # in order to make escape bindings of programs in tmux work set -s escape-time 5 # enable mouse set-option -g mouse on # start pane index at 1 set -g base-index 1 setw -g pane-base-index 1 # reload bind bind-key r source-file ~/.tmux.conf # status bar set -g status-bg default set -g status-fg white set -g status-right '%Y.%m.%d %H:%M' set-window-option -g window-status-current-format ' #I:#W ' set-window-option -g window-status-current-style "bg=#98c379,fg=#282c34" set-window-option -g window-status-activity-style "bg=#ff6c6b,fg=#282c34" set-window-option -g window-status-format ' #I:#W ' set-window-option -g window-status-separator '' set-option -g status-justify left set -g status-left '' set -g status-right '%a %Y-%m-%d %H:%M | #S on #h' set -g status-right-length 120