Created
January 23, 2012 22:34
-
-
Save kurtharriger/1665874 to your computer and use it in GitHub Desktop.
My TMUX configuration file -- krainboltgreene
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
############################################################################### | |
# | |
# Prefix is set to ` (backtick). | |
# Doubling the prefix switches to last window. | |
# | |
####################################### | |
# | |
# Key bindings | |
# ============ | |
# Tab down-pane | |
# Space list-panes | |
# Enter break-pane | |
# - split-window | |
# \ split-window -h | |
# a send the prefix code | |
# r reload the configuration file | |
# | |
############################################################################### | |
# Prefix diddling | |
unbind-key C-b # remove the old send-prefix key | |
set-option -g prefix ` | |
bind-key ` last-window | |
# Key bindings | |
bind-key a send-prefix | |
unbind-key '"' # redefine split-window | |
bind-key - split-window | |
unbind-key % # redefine split-window -h | |
bind-key \ split-window -h | |
bind-key r source-file ~/.tmux.conf | |
bind-key Tab down-pane | |
bind-key Space list-panes | |
bind-key Enter break-pane | |
# General options | |
set-option -g default-terminal "screen-256color" | |
set-option -g status-keys vi | |
set-option -g bell-action any | |
set-option -g visual-bell on | |
set-option -g set-titles on | |
set-option -g set-titles-string '#H:#S.#I.#P #W #T' # host:session.windowindex.paneindex windowname windowtitle | |
set-option -g status-left '#[fg=blue]#[bg=white] #H:#S.#I.#P #[default]' | |
set-option -g status-right '%F %H%Mhrs' | |
set-window-option -g mode-mouse on | |
# Look and feel | |
set-option -g base-index 1 # 0 is too far from the prefix | |
set-option -g status-bg blue | |
set-option -g status-fg white | |
set-option -g message-bg red | |
set-option -g message-fg white | |
# Window options | |
set-option -g status-utf8 on | |
set-option -g status-justify left | |
set-option -g status-left-length 40 | |
set-window-option -g mode-keys vi | |
set-window-option -g mode-mouse on | |
set-window-option -g monitor-activity on | |
set-window-option -g window-status-bg blue | |
set-window-option -g window-status-current-fg yellow | |
# Pane options | |
set-option -g mouse-select-pane on | |
set -g history-limit 10240 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment