Created
March 29, 2012 06:43
-
-
Save bartlomiejdanek/2234240 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
setw -g xterm-keys on | |
set -g terminal-overrides "*88col*:colors=88,*256col*:colors=256,xterm*:colors=256" | |
set -g default-terminal "screen-256color" | |
set-option -g prefix C-a | |
bind-key C-a last-window | |
bind-key ` last-window | |
bind-key a send-prefix | |
#set-option -g mouse-select-pane on | |
set-option -g status-keys vi | |
#set-option -g bell-action any | |
set-option -g set-titles on | |
set-option -g set-titles-string '#H:#S.#I.#P #W #T' # window number,program name,active (or not) | |
#set-option -g visual-bell on | |
set-option -g status-interval 1 | |
set -s escape-time 1 | |
setw -g mode-keys vi | |
setw -g mode-mouse on | |
setw -g monitor-activity on | |
bind e previous-window | |
bind f next-window | |
bind j select-pane -U | |
bind k select-pane -D | |
bind h select-pane -L | |
bind l select-pane -R | |
bind h split-window -v | |
bind v split-window -h | |
bind - split-window -v | |
bind | split-window -h | |
set-option -g status-utf8 on | |
set-option -g status-justify centre | |
set-option -g status-justify left | |
set-option -g status-bg colour235 | |
set-option -g status-fg white | |
set-option -g status-left-length 40 | |
set-option -g pane-active-border-fg colour250 | |
set-option -g pane-active-border-bg colour235 | |
set-option -g pane-border-fg colour240 | |
set-option -g pane-border-bg colour235 | |
set-option -g message-fg colour118 | |
set-option -g message-bg colour235 | |
setw -g window-status-bg colour235 | |
setw -g window-status-fg white | |
setw -g window-status-current-fg colour235 | |
setw -g window-status-current-bg colour235 | |
setw -g window-status-alert-attr default | |
#setw -g window-status-alert-fg red | |
#setw -g window-status-alert-bg black | |
set -g status-left '#[default]' | |
#set -g status-right '#[fg=green]][#[fg=white] #T #[fg=green]][ #[fg=blue]%Y-%m-%d #[fg=white]%H:%M#[default]' | |
set -g status-right '#[fg=colour150]%H:%M:%S#[default]' | |
setw -g window-status-format '#[fg=colour150]#I:#W#F' | |
setw -g window-status-current-format '#[fg=colour182,bold]#I:#W#F' | |
set -g history-limit 8192 | |
#set -g buffer-limit 8192 | |
# `+r reloads the configuration, handy | |
bind r source-file ~/.tmux.conf | |
unbind [ | |
bind Escape copy-mode | |
unbind p | |
bind p paste-buffer | |
bind-key -t vi-copy 'v' begin-selection | |
bind-key -t vi-copy 'y' copy-selection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment