################# ## Variables ## ################# THEME_COLOR=cyan THEME_COLOR_FG=black THEME_COLOR_ALT=cyan THEME_COLOR_FG_ALT=black THEME_COLOR_ACTIVE=cyan THEME_COLOR_ACTIVE_FG=brightblue BORDER_COLOR=brightblue LC_ALL=C.UTF-8 ############ ## Keys ## ############ set-option -g default-terminal "xterm-256color" set-option -ag terminal-overrides ",xterm-256color:Tc" set-option -g prefix C-x unbind-key C-b bind-key C-x send-prefix bind-key -n C-X send-prefix #bind-key -n C-b send-prefix bind-key r source-file ~/.tmux.conf \; display "Config Reloaded!" bind-key a set-option -g status-style fg=brightwhite,bg=blue bind-key A set-option -g status-style fg=black,bg=cyan set-option -g history-limit 20000 set-option -s -g escape-time 50 bind-key -n M-r refresh-client #bind-key h select-pane -L #bind-key j select-pane -D #bind-key k select-pane -U #bind-key l select-pane -R bind-key -n M-Left select-pane -L bind-key -n M-Right select-pane -R bind-key -n M-Up select-pane -U bind-key -n M-Down select-pane -D bind-key -n M-h select-pane -L bind-key -n M-l select-pane -R bind-key -n M-k select-pane -U bind-key -n M-j select-pane -D bind-key -n C-PageDown next-window bind-key -n C-PageUp previous-window #bind-key -n C-S-PageDown swap-window -D #bind-key -n C-S-PageUp swap-window -U bind-key -n M-< swap-pane -U bind-key -n M-> swap-pane -D bind-key e select-pane -l bind-key C-e select-window -l bind-key q kill-pane bind-key C-q kill-window bind-key C-Left resize-pane -L bind-key C-Right resize-pane -R bind-key C-Up resize-pane -U bind-key C-Down resize-pane -D bind-key - split-window -v bind-key | split-window -h unbind-key % unbind-key '"' bind-key C-u swap-pane -U bind-key C-d swap-pane -D ################ ## Behavior ## ################ set-window-option -g mode-keys vi bind-key Escape copy-mode bind-key -n C-v paste-buffer bind-key -n IC paste-buffer #bind-key -t vi-copy v begin-selection #bind-key -T copy-mode y copy-selection set-option -g mouse on set-window-option -g alternate-screen on bind-key -T copy-mode WheelUpPane send -N1 -X scroll-up bind-key -T copy-mode WheelDownPane send -N1 -X scroll-down set-option -g status on set-option -g status-interval 5 set-option -g base-index 1 set-option -g renumber-windows on #set-option -g set-titles on set-window-option -g clock-mode-style 24 set-option -g status-position top ############## ## Colors ## ############## set-option -g status-style "bg=${THEME_COLOR},fg=${THEME_COLOR_FG}" set-option -g message-style "bg=${THEME_COLOR_ALT},fg=${THEME_COLOR_FG_ALT}" set-option -g pane-active-border-style "fg=${BORDER_COLOR}" set-option -g status-right-style fg=black set-window-option -g window-status-current-style "fg=${THEME_COLOR_ACTIVE_FG},bg=${THEME_COLOR_ACTIVE}" ############# ## Texts ## ############# set-option -g status-justify left set-option -g status-right '%H:%M %Y-%m-%d' set-window-option -g window-status-current-format "#I:#W#F" ############ ## Misc ## ############ set-option -g default-shell /bin/bash #set-environment -r SSH_CONNECTION #set-environment -r SSH_CLIENT #set-environment -r SSH_TTY