Created
April 19, 2012 23:07
-
-
Save corporealfunk/2424780 to your computer and use it in GitHub Desktop.
tmux configuration
This file contains 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
unbind C-b | |
set -g prefix C-a | |
# resize panes with VIM nav keys | |
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 | |
# faster tmux escape wait times? | |
set -s escape-time 0 | |
# hilite active window | |
set-window-option -g window-status-current-bg red | |
set -g default-terminal "screen-256color" | |
## Screen-like bindings | |
bind-key C-a last-window | |
bind-key C-p previous-window | |
bind-key C-n next-window | |
bind-key Space next-window | |
bind-key C-Space next-window | |
# Allows us to use C-a a <command> to send commands to a TMUX session inside | |
# another TMUX session | |
bind-key a send-prefix | |
# Pane navigation | |
bind-key -r k select-pane -U | |
bind-key -r j select-pane -D | |
bind-key -r h select-pane -L | |
bind-key -r l select-pane -R |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment