Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
76 lines (56 sloc) 1.86 KB
# ----[ Sessions ]----------------------------------------------------------- #
# tmux has trouble figuring out the number of colours available in terminal
set -g default-terminal "tmux-256color"
# enable persistent SSH key management across sessions
# default delay
set -s escape-time 1
# reload configuration
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# ----[ Windows and Panes ]-------------------------------------------------- #
# activity auto-renames window
setw -g automatic-rename on
# toggle last active window
unbind t
bind t last-window
# split panes
bind \ split-window -h
bind - split-window -v
# move between panes
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# resize panes
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
# window list colours
setw -g window-status-bg default
setw -g window-status-fg cyan
setw -g window-status-attr dim
setw -g window-status-current-bg red
setw -g window-status-current-fg white
setw -g window-status-current-attr bright
# pane colours
set -g pane-border-bg black
set -g pane-border-fg green
set -g pane-active-border-bg yellow
set -g pane-active-border-fg white
# ----[ Status Bar ]--------------------------------------------------------- #
# status bar left
set -g status-left-length 20
set -g status-left ""
set -g status-interval 10
set -g status-justify right
# status bar right
set -g status-right "[#S] #[fg=blue,bold]#(cat /proc/loadavg | awk '{print $1,$2,$3}')"
# activity alerts
setw -g monitor-activity on
set -g visual-activity on
# status line colours
set -g status-bg black
set -g status-fg white