Created
February 28, 2014 18:09
-
-
Save grapeot/9276405 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
set -g default-terminal "screen-256color" | |
set -g status-right '#[fg=black] #(hostname), %H:%M, #(uptime | egrep -o "average.*"|perl -pe "s|average: ||")' | |
setw -g automatic-rename | |
# mouse mode | |
set -g mode-mouse on | |
setw -g mouse-select-window on | |
setw -g mouse-select-pane on | |
setw -g mode-keys vi | |
# key bindings | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
unbind [ | |
bind ` copy-mode | |
unbind p | |
bind p paste-buffer | |
bind -t vi-copy v begin-selection | |
bind -t vi-copy y copy-selection | |
unbind % | |
bind | split-window -h | |
bind - split-window -v | |
# Mac only | |
# set -g status-right '#[fg=black] #(hostname), %H:%M, #(uptime | grep -o "averages:.*" | sed "s/averages: //")' | |
# 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