Created
February 22, 2014 03:37
-
-
Save forkloop/9148307 to your computer and use it in GitHub Desktop.
tmux.conf
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" | |
| set -g prefix C-b | |
| set -g base-index 1 | |
| # Split window | |
| bind | split-window -h | |
| bind - split-window -v | |
| # Reload config file | |
| bind r source-file ~/.tmux.conf \; display "Reloaded tmux.conf." | |
| # Enable mouse scrolling | |
| set -g mode-mouse on | |
| # Status bar | |
| set -g status-bg green | |
| set -g status-fg white | |
| set -g status-left "" | |
| set -g status-right "#[fg=white]#(pwd)" | |
| set-window-option -g window-status-current-bg red | |
| # Resize pane | |
| bind -r C-h resize-pane -L | |
| bind -r C-j resize-pane -D | |
| bind -r C-k resize-pane -U | |
| bind -r C-l resize-pane -R | |
| # Pane movement | |
| bind -r h select-pane -L | |
| bind -r j select-pane -D | |
| bind -r k select-pane -U | |
| bind -r l select-pane -R |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment