Created
May 7, 2013 17:50
-
-
Save cwalkatron/5534619 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-command zsh | |
| # BOOM | |
| set -g default-terminal "screen-256color" | |
| set -g history-limit 10000 | |
| # Display on Linux | |
| setenv DISPLAY :0 | |
| set -g update-environment "SSH_AUTH_SOCK SSH_ASKPASS WINDOWID SSH_CONNECTION XAUTHORITY" | |
| # use a different control key | |
| unbind C-b | |
| set -g prefix C-a | |
| bind a send-prefix | |
| # vi bindings | |
| set-window-option -g mode-keys vi | |
| set-option -g status-keys vi | |
| # status bar | |
| set -g status-bg colour236 | |
| set -g status-fg white | |
| set -g status-left '#[fg=blue]#S' | |
| set -g status-right '' | |
| set -g pane-active-border-fg cyan | |
| setw -g window-status-current-bg blue | |
| set -g display-time 3000 | |
| set -g set-titles on | |
| # window switching | |
| unbind C-a | |
| bind C-a last-window | |
| # bye-bye | |
| unbind K | |
| bind K kill-session | |
| # pane creation | |
| unbind % | |
| bind | split-window -hbind - split-window -v | |
| # pane navigation | |
| unbind j | |
| bind j select-pane -D | |
| unbind k | |
| bind k select-pane -U | |
| unbind h | |
| bind h select-pane -L | |
| unbind l | |
| bind l select-pane -R | |
| # sync up | |
| unbind S | |
| bind S setw synchronize-panes on | |
| unbind T | |
| bind T setw synchronize-panes off | |
| # open a man page in new pane | |
| bind / command-prompt "split-window 'exec man %%'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment