Created
January 14, 2014 18:41
-
-
Save jeffschwartz/8423397 to your computer and use it in GitHub Desktop.
tmux configuration file. goes in ~.
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
| # delay time | |
| set -sg escape-time 1 | |
| # 256 colors | |
| set -g default-terminal "screen-256color" | |
| # a mouse | |
| set -g mode-mouse on | |
| setw -g mouse-select-window on | |
| setw -g mouse-select-pane on | |
| # change the prefix key to a | |
| set -g prefix C-a | |
| unbind C-b | |
| bind C-a send-prefix | |
| # act like vim | |
| set -g status-keys vi | |
| setw -g mode-keys vi | |
| bind h select-pane -L | |
| bind j select-pane -D | |
| bind k select-pane -U | |
| bind l select-pane -R | |
| bind-key -r C-h select-window -t :- | |
| bind-key -r C-l select-window -t :+ | |
| #unbind [ | |
| #bind ` copy-mode | |
| #unbind p | |
| #bind p paste-buffer | |
| #bind -t vi-copy v begin-selection | |
| #bind -t vi-copy y copy-selection | |
| set-option -g default-command "reattach-to-user-namespace -l bash" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment