Skip to content

Instantly share code, notes, and snippets.

@informationsea
Last active September 7, 2016 13:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save informationsea/7296b86b9966a6a81121 to your computer and use it in GitHub Desktop.
Save informationsea/7296b86b9966a6a81121 to your computer and use it in GitHub Desktop.
Terminal Multiplexer Configuration
set -g prefix C-z
#set -g status-attr bold
set -g status-bg white
set -g status-fg blue
set -g set-titles on
#set-option -g status-right '#[bg=red] #(echo $USER)@#H #[bg=blue,bold,fg=white] %y/%m/%d (%a) %H:%M' # change by .zshrc
set-option -g status-right "#[bg=blue,bold,fg=white] #(cut -d ' ' -f 1-3 /proc/loadavg) #[bg=red,fg=white] $USER@#h #[bg=blue,bold,fg=white] %Y/%m/%d (%a) %H:%M"
set-option -g status-right-length 80
set-option -g history-limit 10000
#set-window-option -g utf8 on
set-window-option -g window-status-current-bg black
set-window-option -g window-status-current-attr bold
set-window-option -g window-status-current-fg white
set-window-option -g window-status-current-format " #I:#{pane_current_command}:#{b:pane_current_path}#F "
set-window-option -g window-status-format " #I:#{pane_current_command}:#{b:pane_current_path}#F "
set-window-option -g mode-keys emacs
unbind C-b
bind z send-prefix
bind C-z last-window
bind Tab select-pane -t :.+
bind C-j resize-pane -D
bind C-k resize-pane -U
bind C-h resize-pane -L
bind C-l resize-pane -R
bind C-r source ~/.tmux.conf
bind l next-layout
bind c new-window -c "#{pane_current_path}"
bind % split-window -h -p 50 -c "#{pane_current_path}"
bind '"' split-window -v -p 50 -c "#{pane_current_path}"
set-option -g default-terminal screen-256color
source-file ~/.tmux.host.conf
# set-option -g default-shell "/home/yokamura/c6-local/bin/zsh"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment