Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # use UTF8
- set -g utf8
- set-window-option -g utf8 on
- # make tmux display things in 256 colors
- set -g default-terminal "screen-256color"
- # set scrollback history to 64k
- set -g history-limit 65536
- # set prefix to ^A
- # unbind C-b
- # set -g prefix ^A
- # bind a send-prefix
- # ^A for last window
- unbind ^A
- bind ^A last-window
- # ^D for detach
- unbind ^D
- bind ^D detach
- # reload conf by r
- bind r source-file ~/.tmux.conf
- # next/prev
- bind-key -n M-k next
- bind-key -n M-j prev
- unbind C-j
- unbind C-k
- bind-key -n C-j prev
- bind-key -n C-k next
- # Status Bar
- set-option -g status on
- set -g status-utf8 on
- set -g status-interval 1
- set-option -g status-bg colour233
- set-option -g status-fg green
- set -g status-left-length 60
- set -g status-left " #[fg=colour74]#(whoami)@#h#[default]"
- set -g status-right-length 60
- set -g status-right "#[fg=colour99]#(tmux-mem-cpu-load 1)#[default] #[fg=colour101]%m/%d %H:%M:%S#[default] "
- set-window-option -g window-status-current-fg yellow
- set-window-option -g window-status-current-bg default
- set -g status-justify centre
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement