Created
August 30, 2011 01:53
-
-
Save jaytaylor/1179953 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
# Make it use C-a, similar to screen.. | |
unbind C-b | |
unbind l | |
set -g prefix C-a | |
bind-key C-a last-window | |
# Reload key | |
bind r source-file ~/.tmux.conf | |
set -g default-terminal "screen-256color" | |
set -g history-limit 1000 | |
# THEME | |
set -g status-bg black | |
set -g status-fg white | |
set -g status-interval 60 | |
set -g status-left-length 30 | |
set -g status-left '#[fg=green](#S) #(whoami)@#H#[default]' | |
#set -g status-right '#[fg=yellow]#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[fg=blue]%H:%M#[default]' | |
set -g status-right ‘#[fg=yellow]#(uptime | cut -d “,” -f 2-)’ | |
set-window-option -g window-status-current-bg red | |
# window splitting | |
unbind % | |
bind | split-window -h | |
bind - split-window -v | |
# window title | |
setw -g automatic-rename | |
# act like vim | |
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 :+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment