Created
October 21, 2013 07:13
-
-
Save tikitu/7079786 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 the prefix key to C-a instead of C-b, like GNU screen | |
set -g prefix C-a | |
bind a send-prefix | |
unbind C-b | |
set -s escape-time 1 | |
bind r source-file ~/.tmux.conf \; display "Reloaded" | |
# Intuitive vertical/horizontal split keys | |
bind | split-window -h | |
bind - split-window -v | |
# ? doesn't seem to work for me, what is it for? | |
# -r = "repeatable" | |
bind -r C-h select-window -t :- | |
bind -r C-l select-window -t :* | |
setw -g mode-mouse off | |
set -g mouse-select-pane off | |
set -g mouse-select-window off | |
set -g default-terminal "xterm-256color" | |
setw -g monitor-activity on | |
set -g visual-activity on | |
set -g status-justify centre | |
set -g status-fg white | |
set -g status-bg black | |
setw -g window-status-fg blue | |
setw -g window-status-bg default | |
setw -g window-status-attr dim | |
setw -g window-status-current-fg white | |
setw -g window-status-current-bg blue | |
setw -g window-status-current-attr bright | |
# "Maximise" the current pane as its own window (only one at a time!) | |
bind PageUp new-window -d -n tmp \; swap-pane -s tmp.0 \; select-window -t tmp | |
bind PageDown last-window \; swap-pane -s tmp.0 \; kill-window -t tmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment