1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | ## General Settings
set -g set-remain-on-exit on
set -g status-keys vi
setw -g mode-keys vi
set -g base-index 1
set -g default-shell /bin/zsh
set -g default-command /bin/zsh
setw -g utf8 on
set -g default-terminal "screen-256color"
## Status line
set -g status-utf8 on
set -g status-bg default
set -g status-fg default
set -g status-left-length 100
set -g status-left " #[fg=default]#W#[fg=red] >> #[fg=white]#(cat /proc/loadavg | cut -c 1-14) #[fg=red]>> #[fg=white]%d/%m %H:%M "
set -g status-right-length 0
set -g status-right ""
set -g status-justify right
setw -g window-status-format '#[fg=white]#I#[fg=black]#W'
setw -g window-status-current-format '#[fg=black]#I#[fg=magenta]#W'
set-window-option -g window-status-current-fg red
## Messages
set -g message-attr underscore
set -g message-fg white
set -g message-bg red
## Panes
set -g pane-border-fg black
set -g pane-active-border-fg black
setw -g automatic-rename on
## Binds
set -g prefix C-a
unbind c
bind c new-window
bind C-c new-window
unbind &
unbind q
bind q kill-window
bind C-q kill-window
bind x kill-pane
bind C-x kill-pane
unbind l
bind C-a last-window
unbind C-b
bind a send-prefix
unbind n
bind n next-window
bind C-n next-window
unbind p
bind p previous-window
bind C-p previous-window
unbind d
bind d detach
bind C-d detach
set-option escape-time 0
unbind [
bind Escape copy-mode
unbind %
bind a split-window -h
unbind "'"
bind e split-window -v
bind C-e split-window -v
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind ^h resize-pane -L
bind ^j resize-pane -D
bind ^k resize-pane -U
bind ^l resize-pane -R
bind / command-prompt "split-window 'exec man %%'"
|
x
Notes
Tmux theme for “I can’t believe it’s not butter” series.