Created
July 15, 2011 17:19
-
-
Save danielb2/1085099 to your computer and use it in GitHub Desktop.
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
set-option -g prefix C-a | |
set default-path $PWD | |
unbind-key C-b | |
bind-key C-a last-window | |
bind-key a send-prefix # allows to send ctrl-a directly to window | |
bind-key space next-window | |
bind-key C-space next-window | |
bind-key l select-pane -L | |
bind-key h select-pane -R | |
bind-key j select-pane -D | |
bind-key k select-pane -U | |
# we might need ` at some point, allow switching | |
# we can also send the prefix char with `-a | |
bind-key F11 set-option -g prefix C-a | |
bind-key F12 set-option -g prefix ` | |
# 0 is too far from ` ;) | |
set -g base-index 1 | |
set-option -g default-terminal "xterm-256color" | |
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 | |
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 up-pane | |
#bind C-j up-pane | |
#bind C-k down-pane | |
#bind k down-pane | |
set-option -g status-utf8 on | |
# set-option -g status-justify centre | |
set-option -g status-justify left | |
set-option -g status-bg black | |
set-option -g status-fg white | |
set-option -g status-left-length 40 | |
set-option -g pane-active-border-fg green | |
set-option -g pane-active-border-bg black | |
set-option -g pane-border-fg white | |
set-option -g pane-border-bg black | |
set-option -g message-fg black | |
set-option -g message-bg green | |
set -g status off | |
#setw -g mode-bg black | |
setw -g window-status-bg black | |
setw -g window-status-current-fg green | |
#setw -g window-status-alert-attr default | |
#setw -g window-status-alert-fg yellow | |
set -g status-left '#[fg=red]#H#[fg=green]:#[fg=white]#S #[fg=green]][#[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=green]][ #[fg=blue]%Y-%m-%d #[fg=white]%H:%M#[default]' | |
set -g history-limit 4096 | |
bind r source-file ~/.tmux.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment