Created
June 23, 2017 01:31
-
-
Save tmt514/697dd9dcc3b860765c91f34df10fc7e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment