Skip to content

Instantly share code, notes, and snippets.

@wyattdanger
Created January 19, 2012 15:56
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 wyattdanger/1640731 to your computer and use it in GitHub Desktop.
Save wyattdanger/1640731 to your computer and use it in GitHub Desktop.
#unbind C-b
set-option -g prefix C-w
bind-key C-w last-window
set -g base-index 1
set-option -g default-terminal "screen-256color"
# 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
set -g history-limit 4096
setw -g automatic-rename off
set-option -g set-titles on
set-option -g set-titles-string '#(hostname -s):#I.#P #W #T' # window number,program name,active (or not)
set-window-option -g window-status-fg black
set-window-option -g window-status-current-fg colour232
set-window-option -g window-status-current-attr bold
set -g status-left-length 20
set-option -g lock-after-time 300
set-option -g lock-server on
set -g lock-command vlock
#`+r reloads the configuration, handy
bind r source-file ~/.tmux.conf
unbind Left
unbind Right
unbind Down
unbind Up
bind -r Left resize-pane -L 2
bind -r Right resize-pane -R 2
bind -r Down resize-pane -D 2
bind -r Up resize-pane -U 2
set-option -g default-command "reattach-to-user-namespace -l zsh"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment