Created
January 19, 2012 15:56
-
-
Save wyattdanger/1640731 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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