Skip to content

Instantly share code, notes, and snippets.

@sundevilyang
Forked from jespada/tmux latest
Created November 5, 2012 11:47
Show Gist options
  • Save sundevilyang/4016832 to your computer and use it in GitHub Desktop.
Save sundevilyang/4016832 to your computer and use it in GitHub Desktop.
tmux
set -g prefix C-a
unbind %
bind | split-window -h
bind - split-window -v
bind-key k select-pane -U
bind-key j select-pane -D
bind-key h select-pane -L
bind-key l select-pane -R
# status bar
set-option -g status-utf8 on
set-option -g status-justify right
set-option -g status-bg black
set-option -g status-fg green
set-option -g status-interval 1
set-option -g status-left-length 30
set-option -g status-left '#[fg=magenta]» #[fg=blue,bold]#T#[default]'
####set-option -g status-right '#[fg=cyan]»» #[fg=blue,bold]###S #[fg=magenta]%R %m-%d#(acpi | cut -d ',' -f 2)#[default]'
set -g status-right "#S #[fg=green,bg=black,bright]#(tmux-mem-cpu-load 2)#[default]"
####set -g status-interval 2
####set -g status-left "#S #[fg=green,bg=black,bright]#(tmux-mem-cpu-load 2)#[default]"
#set-option -g visual-activity on
#set-window-option -g monitor-activity on
#set-window-option -g window-status-current-fg white
setw -g monitor-activity on
set -g visual-activity on
set -g base-index 1
### clock
set-window-option -g clock-mode-colour green
set-window-option -g clock-mode-style 12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment