Last active
March 17, 2016 19:23
-
-
Save a-leung/e8f7ba4751343a559973 to your computer and use it in GitHub Desktop.
tmux.conf
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
################### | |
# Prefix key setup | |
################### | |
set -g prefix C-a # remap prefix to Control + a --> i'm old that way. | |
# bind 'C-a C-a' to type 'C-a' | |
bind a send-prefix # send 'C-a' into terminal app by typing: 'C-a a' | |
bind C-a last-window # bounce between windows just by typing 'C-a C-a' | |
unbind C-b # get rid of C-b as prefix | |
######################## | |
# colors & status bar | |
######################## | |
set -g default-terminal "screen" | |
# Set status bar | |
set -g status-bg black | |
set -g status-fg white | |
set -g status-left "" | |
set -g status-keys emacs | |
setw -g mode-keys emacs | |
############################ | |
# moving and resizing panes | |
############################ | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
# note: `bind -n` removes prefix requirements | |
# resize panes with vim movement keys | |
bind -r H resize-pane -L 5 | |
bind -r J resize-pane -D 5 | |
bind -r K resize-pane -U 5 | |
bind -r L resize-pane -R 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment