Created
August 9, 2011 21:37
-
-
Save orlandov/1135268 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-a | |
| set -g status-bg black | |
| set -g status-fg default | |
| set -g status-left-length 20 | |
| set -g status-left '#[fg=green]#H#[fg=default]' | |
| set -g status-justify centre | |
| set -gw window-status-format '#I#F#$ #W' | |
| set -gw window-status-current-format '#[fg=red](#[fg=default]#I#F#[fg=yellow]⚡#[fg=default] #[fg=white]#W#[fg=default]#[fg=red])#[fg=default]' | |
| set -g status-keys vi | |
| set-window-option -g mode-keys vi | |
| # screen ^C c | |
| unbind ^C | |
| bind ^C new-window | |
| bind c new-window | |
| # detach ^D d | |
| unbind ^D | |
| bind ^D detach | |
| # Set the prefix to ^A. | |
| unbind C-b | |
| set -g prefix ^A | |
| bind a send-prefix | |
| # displays * | |
| unbind * | |
| bind * list-clients | |
| # title A | |
| unbind A | |
| bind A command-prompt "rename-window %%" | |
| # other ^A | |
| unbind ^A | |
| bind ^A last-window | |
| # kill K k | |
| unbind K | |
| bind K confirm-before "kill-window" | |
| unbind k | |
| bind k confirm-before "kill-window" | |
| # quit \ | |
| unbind \ | |
| bind \ confirm-before "kill-server" | |
| # redisplay ^L l | |
| unbind ^L | |
| bind ^L refresh-client | |
| unbind l | |
| bind l refresh-client | |
| # split -v | | |
| unbind | | |
| bind | split-window | |
| # hold ctrl so you can press a-n | |
| unbind ^n | |
| bind ^n next-window | |
| # hold ctrl so you can press a-n | |
| unbind ^n | |
| bind ^n next-window | |
| # hold ctrl so you can press a-p | |
| unbind ^p | |
| bind ^p previous-window | |
| # I hate hitting ^a ^z by accident | |
| unbind ^z | |
| bind ^\ suspend-client |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment