Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

50 lines (39 sloc) 1.219 kb
# set the command prefix to match screen
set -g prefix C-a
unbind C-b
# use vi key bindings
setw -g mode-keys vi
# turn on mouse mode
setw -g mode-mouse on
# set the scrollback
set -g history-limit 5000
# force tmux to use utf-8
setw -g utf8 on
# Make window splits more like vim
unbind %
bind v split-window -h
bind h split-window -v
bind-key C-a last-window
# Status bar colors
set -g status-bg black
set -g status-fg white
set -g status-left '#[fg=green]#H'
set-window-option -g window-status-current-bg red
# Make pasteboard work (on OS X)
#set-option -g default-command "/opt/local/bin/reattach-to-user-namespace -l zsh"
bind C-c run "tmux save-buffer - | reattach-to-user-namespace pbcopy"
bind C-v run "reattach-to-user-namesapce pbpaste | tmux load-buffer - && tmux paste-buffer"
# Add more natural pane selection keys.
bind-key C-h select-pane -L
bind-key C-j select-pane -D
bind-key C-k select-pane -U
bind-key C-l select-pane -R
# New session key
bind-key C-N new-session
# Add resizing keys
bind-key K resize-pane -U 16
bind-key J resize-pane -D 15
bind-key L resize-pane -R 15
bind-key H resize-pane -L 15
# Add session recording key
bind-key H pipe-pane -o 'cat >> $HOME/#W-`date +%s`-tmux.log'
Jump to Line
Something went wrong with that request. Please try again.