Last active
August 29, 2015 14:05
-
-
Save 0x9900/7d81042206d227945110 to your computer and use it in GitHub Desktop.
tmux.conf
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
# Reload key | |
bind-key R source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded" | |
# make tmux display things in 256 colors | |
set -g default-terminal "screen-256color" | |
# utf8 | |
set-window-option -g utf8 on | |
set -g status-utf8 on | |
set -g history-limit 5000 | |
setw -g pane-base-index 1 | |
set -g base-index 1 | |
# re-number windows when one is closed | |
set -g renumber-windows on | |
set -g set-titles on | |
set -g set-titles-string "#I:#W" | |
set -g status-left-length 50 | |
set -g status-left ' [#h:#S] #I:#P |#[default]' | |
set -g status-right-length 60 | |
set -g status-right '| #H - [%d %b %R] ' | |
# more natural splitting | |
unbind % | |
unbind '"' | |
bind | split-window -h | |
bind - split-window -v | |
# When I hit this one by mistake it fucks up all my panes. | |
unbind-key Space | |
bind-key Space display-message "Don't fuck up the panes" | |
# I keep trying to select panes with my window. | |
set -g mouse-select-pane off | |
# panes sizes | |
bind-key -r J resize-pane -D 3 | |
bind-key -r K resize-pane -U 3 | |
bind-key -r H resize-pane -L 3 | |
bind-key -r L resize-pane -R 3 | |
# --- COLOURS ---------------- | |
# pane border colors | |
set-option -g pane-border-fg colour239 | |
set-option -g pane-border-bg colour234 | |
set-option -g pane-active-border-fg colour242 | |
set-option -g pane-active-border-bg colour242 | |
# default statusbar colors | |
set-option -g status-bg colour235 | |
set-option -g status-fg colour228 | |
set-option -g status-attr default | |
set-option -g message-bg colour235 | |
set-option -g message-fg white | |
# default window title colors | |
set-window-option -g window-status-fg colour239 | |
set-window-option -g window-status-bg default | |
set-window-option -g window-status-attr dim | |
# active window title colors | |
set-window-option -g window-status-current-fg colour166 #orange | |
set-window-option -g window-status-current-bg default | |
set-window-option -g window-status-current-attr bright |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment