Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

74 lines (56 sloc) 2.071 kB
set -g default-terminal "screen-256color"
# Use reattach-to-user-namespace to enable pbcopy and pbpaste from tmux
set-option -g default-command "reattach-to-user-namespace -l zsh"
# Use Ctrl-A as our prefix
set -g prefix C-a
# Free up Ctrl-B to be used elsewhere
unbind C-b
# Repeat C-a to send C-a to apps in tmux
bind C-a send-prefix
# Count windows from 1, not from 0
set -g base-index 1
# Count panes from 1, not from 0
setw -g pane-base-index 1
# Redefine keys to split windows into panes
unbind %
bind | split-window -h
bind _ split-window -v
# Don't wait for a meta key when hitting escape (for Vim)
set-option -s escape-time 0
# Use easy Vim-style navigation between panes
bind-key -n M-h select-pane -L
bind-key -n M-j select-pane -D
bind-key -n M-k select-pane -U
bind-key -n M-l select-pane -R
# Resize panes
bind -r + resize-pane -U
bind -r - resize-pane -D
bind -r < resize-pane -L
bind -r > resize-pane -R
bind -r M-> resize-pane -R 20
bind -r M-< resize-pane -L 20
bind -r M-+ resize-pane -U 20
bind -r M-- resize-pane -D 20
# Use Vi style navigation in copy mode
setw -g mode-keys vi
set -g status-utf8 on
set -g utf8
set-window-option -g utf8 on
bind r source-file ${HOME}/.tmux.conf \; display-message "source-file reloaded"
#set -g status-left-length 100
#set -g status-right-length 100
set -g status-style "bg=colour234,fg=colour246"
set -g message-style "fg=colour160,bg=colour234,dim"
set -g status-justify centre
set -g window-status-style "bg=colour234,fg=colour246,dim"
set -g window-status-format "#I#F #W"
set -g window-status-last-style "fg=colour252"
set -g window-status-current-style "bg=colour234,fg=colour160,bright"
set -g window-status-current-format "#I#F #W"
set -g window-status-activity-style "bg=colour234,fg=colour246"
set -g window-status-separator " "
set -g status-utf8 on
set -g status-left "#{host} ∙ #{session_name}.#{window_index}.#{pane_index}"
set -g status-right "#{pane_current_command} ∙ #(pmset -g batt | egrep -o '[0-9]+%%') ∙ %d %b %R"
setw -g monitor-activity on
set -g visual-activity on
Jump to Line
Something went wrong with that request. Please try again.