Created
November 8, 2011 21:24
-
-
Save trobrock/1349291 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 default-terminal "screen-256color" | |
# Use the system pasteboard | |
set-option -g default-command "reattach-to-user-namespace -l zsh" | |
# Bind Control key to match Screen | |
set -g prefix C-a | |
# Use vi key bindings | |
set -g status-keys vi | |
setw -g mode-keys vi | |
# Control+C-a to go to previous window | |
bind-key C-a last-window | |
# Status bar options | |
set -g status-fg green | |
set -g status-bg black | |
set -g status-left-length 60 | |
set -g status-left "[ #S l:#(/Users/trobrock/Scripts/load.sh) m:#(/Users/trobrock/Scripts/memory.sh) chefvm:#[fg=blue]#(chefvm current)#[fg=default] ] [" | |
set -g status-right ' ] [ #(/Users/trobrock/Scripts/power.sh) #[fg=blue]%Y-%m-%d #[fg=default]%H:%M ]' | |
# Window title Options | |
set-window-option -g window-status-fg white | |
set-window-option -g window-status-bg black | |
set-window-option -g window-status-attr dim | |
# active window title colors | |
set -g window-status-format '#I:#W#F' | |
set -g window-status-current-format '#[bg=colour245,fg=black]#I:#W ' | |
set-window-option -g mode-fg white | |
set-window-option -g mode-bg red | |
set-window-option -g mode-attr bright | |
# Remap split window keys | |
unbind % # Remove default binding since we’re replacing | |
bind | split-window -h | |
bind - split-window -v | |
# Resize to the smallest client actively viewing a window | |
setw -g aggressive-resize on | |
# Don't wait so long for commands | |
set -s escape-time 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment