Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
69 lines (55 sloc) 1.55 KB
# Prefix
set-option -g prefix C-z
# Term
set-option -g default-terminal screen-256color
#set-option -g default-terminal screen-256color-bce
# View
# original
set-option -g history-limit 10000
set-option -g base-index 1
#set-option -g status-utf8 on
set-option -g status-interval 5
set-option -g status-bg black
set-option -g status-fg default
#setw -g utf8 on
setw -g window-status-current-bg red
setw -g window-status-current-fg white
set-option -g status-right ''
set-option -g repeat-time 1000
# Copy
set-option -g default-command "reattach-to-user-namespace -l zsh"
bind C-c run-shell 'reattach-to-user-namespace tmux-pbcopy'
# Navigation
# act like vim
setw -g mode-keys vi
bind -r h select-pane -L \; refresh-client
bind -r j select-pane -D \; refresh-client
bind -r k select-pane -U \; refresh-client
bind -r l select-pane -R \; refresh-client
bind -r C-h select-pane -L \; refresh-client
bind -r C-j select-pane -D \; refresh-client
bind -r C-k select-pane -U \; refresh-client
bind -r C-l select-pane -R \; refresh-client
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
bind-key -r , select-window -t :-
bind-key -r . select-window -t :+
bind-key -r C-p select-window -t :-
bind-key -r C-n select-window -t :+
# Swap pane
bind-key N swap-pane -D
bind-key P swap-pane -U
bind C-w choose-window
# Splitting
unbind %
bind | split-window -h
bind - split-window -v
# Mouse
setw -g mouse-resize-pane on
setw -g mouse-select-pane on
setw -g mouse-select-window on
setw -g mode-mouse on
# Auto attach
Jump to Line
Something went wrong with that request. Please try again.