Skip to content

Instantly share code, notes, and snippets.

@erickbrower
Created December 19, 2013 03:48
Show Gist options
  • Save erickbrower/8034136 to your computer and use it in GitHub Desktop.
Save erickbrower/8034136 to your computer and use it in GitHub Desktop.
My tmux.conf
set-option -g default-shell $SHELL
set-option -g default-command "reattach-to-user-namespace -l zsh"
set -g default-terminal "screen-256color"
set -g status-utf8 on
set -g history-limit 100000
set -g base-index 1
set -s escape-time 0
set -g prefix C-a
bind-key C-a last-window
set-window-option -g mode-keys vi
unbind C-b
unbind %
bind | split-window -h
bind - split-window -v
set -g mode-mouse on
setw -g mouse-select-window on
setw -g mouse-select-pane on
# act like vim
setw -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind-key -r C-h select-window -t :-
bind-key -r C-l select-window -t :+
unbind [
bind ` copy-mode
unbind p
bind p paste-buffer
bind -t vi-copy v begin-selection
bind -t vi-copy y copy-selection
set -g status-bg '#5c8ae6'
set -g status-fg '#ffffff'
set -g status-left ' '
set -g status-right '#[bg=#bbbbbb]#[fg=#000000]#(cut -d " " -f -3 /proc/loadavg) #[bg=#4e4e4e]#[fg=#ffffff]#(date +" %H:%M ")'
set -g window-status-format '#I #W'
set -g window-status-current-format '* #I #W '
set -g window-status-current-fg '#ffffff'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment