Created
February 22, 2012 22:47
-
-
Save aperiodic/1888089 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
set -g prefix C-h | |
# double prefix flips between current and last window | |
bind-key C-h last-window | |
unbind p | |
bind-key C-p previous-window | |
unbind n | |
bind-key C-n previous-window | |
# vi copy-mode keys | |
set-window-option -g mode-keys vi | |
bind p paste-buffer | |
bind-key -t vi-copy 'v' begin-selection | |
bind-key -t vi-copy 'y' copy-selection | |
# more intuitive window split keys | |
bind \ split-window -h | |
bind - split-window -v | |
# vi bindings for pane movement | |
bind-key k select-pane -U | |
bind-key j select-pane -D | |
bind-key h select-pane -L | |
bind-key l select-pane -R | |
set -g default-terminal "screen-256color" | |
# status bar bg white, fg black, hostname on far left | |
set -g status-bg white | |
set -g status-fg black | |
set -g status-left '#H' | |
setw -g mode-mouse off |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment