Created
March 15, 2012 16:55
-
-
Save billyvg/2045256 to your computer and use it in GitHub Desktop.
This file contains 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
# bindings | |
unbind C-b | |
unbind % | |
set -g prefix C-a | |
bind-key C-a last-window | |
bind-key R source-file ~/.tmux.conf | |
# pane bindings | |
bind \ split-window -h | |
bind - split-window -v | |
bind-key k select-pane -U | |
bind-key j select-pane -D | |
bind-key h select-pane -L | |
bind-key l select-pane -R | |
bind _ resize-pane -D 5 | |
bind + resize-pane -U 5 | |
bind < resize-pane -L 5 | |
bind > resize-pane -R 5 | |
bind Escape copy-mode | |
unbind p | |
bind p paste-buffer | |
bind-key -t vi-copy 'v' begin-selection | |
bind-key -t vi-copy 'y' copy-selection | |
# term stuff | |
set -g default-terminal "screen-256color" | |
# sane scrolling | |
set -g terminal-overrides 'xterm*:smcup@:rmcup@' | |
# use vim motion keys | |
setw -g mode-keys vi | |
# status bar | |
set -g status-bg black | |
set -g status-fg white | |
set -g status-left '#[fg=green]#S@#H' | |
set-window-option -g window-status-current-bg red | |
set -g status-right '%a %b %d, %Y %H:%M' | |
# Set window notifications | |
setw -g monitor-activity on | |
set -g visual-activity on | |
# Automatically set window title | |
setw -g automatic-rename |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment