Created
March 26, 2014 08:55
-
-
Save CBeerta/9779113 to your computer and use it in GitHub Desktop.
dot.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 -g default-terminal "screen-256color" | |
# Mouse support (to help getting started) | |
set -g mode-mouse on | |
set -g mouse-resize-pane on | |
set -g mouse-select-pane on | |
set -g mouse-select-window on | |
# set vi mode | |
set-option -g mode-keys vi | |
# rename windows | |
setw -g automatic-rename on | |
# allow control keys for jumping | |
set-window-option -g xterm-keys on | |
# Unicode | |
setw -g utf8 on | |
set -g status-utf8 on | |
set -g status-right '#[fg=white,bg=default]%a, %b %d, %k:%M#[default] #(rainbarf --bright)' | |
set -g status-right-length 60 | |
# Turn of esc delay | |
set -s escape-time 0 | |
# Start windows and panes at 1, not 0 | |
set -g base-index 1 | |
#set -g pane-base-index 1 | |
# Move Bar top | |
# Only newer tmux versions | |
#set-option -g status-position top | |
# Use Ctrl-A | |
unbind C-b | |
set -g prefix C-a | |
# Use Ctrl-A A to send Ctrl-A | |
bind a send-prefix | |
# window switching with page up/down | |
#bind-key -n C-PPage previous-window | |
#bind-key -n C-NPage next-window | |
# window switching with alt + left/right | |
bind-key -n M-left previous-window | |
bind-key -n M-right next-window | |
# Splitting windows into panes with h and v | |
bind-key h split-window -v | |
bind-key v split-window -h | |
# Set up resize-pane keys | |
bind-key + resize-pane -D 5 | |
bind-key / resize-pane -L 5 | |
bind-key - resize-pane -U 5 | |
bind-key * resize-pane -R 5 | |
#### COLOUR | |
# default statusbar colors | |
set-option -g status-bg colour235 #base02 | |
set-option -g status-fg colour136 #yellow | |
set-option -g status-attr default | |
# default window title colors | |
set-window-option -g window-status-fg colour244 | |
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 | |
# pane border | |
set-option -g pane-border-fg colour235 #base02 | |
set-option -g pane-active-border-fg colour240 #base01 | |
# message text | |
set-option -g message-bg colour235 #base02 | |
set-option -g message-fg colour166 #orange | |
# pane number display | |
set-option -g display-panes-active-colour colour33 #blue | |
set-option -g display-panes-colour colour166 #orange | |
# clock | |
set-window-option -g clock-mode-colour colour64 #green | |
# Source Local Config | |
source ~/.tmux.local.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment