Created
April 24, 2013 15:14
-
-
Save mitchellhislop/5452902 to your computer and use it in GitHub Desktop.
My 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
# set the command prefix to match gnuscreen (i.e. CTRL+a) | |
set -g prefix C-a | |
bind-key C-a last-window | |
# utf8 | |
set-window-option -g utf8 on | |
# statusbar background to black, foreground to white | |
set-option -g status-fg white | |
set-option -g status-bg black | |
# set the current window name to a nice bold yellow text | |
# hostname is printed on the left, uptime and current load on the right | |
# fix the titles | |
set -g set-titles on | |
set -g set-titles-string "#I:#W" | |
# be notified when there is activity in one of your windows | |
setw -g monitor-activity on | |
# don't rename windows automatically | |
# reload changes in tmux, handy | |
bind r source-file ~/.tmux.conf \; display "Reloaded" | |
set -g base-index 1 | |
bind | split-window -h | |
bind - split-window -v | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
bind -r C-h select-window -t :- | |
bind -r C-l select-window -t :+ | |
# pane colors | |
set -g pane-border-fg green | |
set -g pane-border-bg black | |
set -g pane-active-border-fg white | |
set -g pane-active-border-bg yellow | |
# Command / message line | |
set -g message-fg white | |
set -g message-bg black | |
# set -g message-attr bright | |
# Status line left side | |
# set -g status-left-length 40 | |
# set -g status-left "#[fg=green]Session: #S #[fg=yellow]#I #[fg=cyan]#P" | |
# set -g status-utf8 on | |
# Status line right side | |
# 15% | 28 Nov 18:15 | |
# set -g status-right " #[fg=cyan]%d %b %R" | |
# Update the status bar every sixty seconds | |
# set -g status-interval 60 | |
# Center the window list | |
# set -g status-justify centre | |
# hardstatus line theme | |
set-option -g status-fg white | |
set-option -g status-bg black | |
set-option -g status-justify centre | |
set-option -g status-left-length 30 | |
set-option -g status-left '#[fg=green][ #[fg=black,bright] #H #[fg=green,nobright]][#[default]' | |
set-option -g status-right-length 16 | |
set-option -g status-right '#[fg=green]][ #[fg=black,bright]%m/%d %H:%M #[fg=green,nobright]]#[fg=default]' | |
set-window-option -g window-status-current-format '#[fg=red]( #[fg=white]#I:#W#[fg=red] )#[fg=default]' | |
set-window-option -g window-status-alert-fg yellow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment