Created
April 10, 2012 14:08
-
-
Save samgranieri/2351629 to your computer and use it in GitHub Desktop.
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-option -g default-command "reattach-to-user-namespace -l zsh" | |
set -g default-terminal "screen-256color" | |
setw -g mode-keys vi | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
set -g mode-mouse on | |
set -g prefix C-a | |
unbind C-b | |
bind C-a send-prefix | |
# force a reload of the config file | |
unbind r | |
bind r source-file ~/.tmux.conf | |
# quick pane cycling | |
unbind ^A | |
bind ^A select-pane -t :.+ | |
## set status bar | |
set-option -g status-utf8 on | |
set-option -g status-bg colour11 | |
set-option -g status-fg colour8 | |
#set-option -g status-left '⣿' | |
#set-option -g status-right '⡇ #[bold]❐ #S:#I#[default] ⡇ #[bold]#(whoami) ● #H#[default] ' | |
#set-option -g status-right '⡇ ❐ #S ⡇ ❖ #(rvm tools identifier) ⡇ #(whoami) ● #H ' | |
set-option -g status-left ' #[bold]❐ #S#[default] ⡇' | |
set-option -g status-right '#[bold]#(whoami) ● #H#[default] ' | |
set-option -g status-right-length 60 | |
set-option -g status-left-length 60 | |
## highlight active window | |
set-window-option -g window-status-current-bg colour166 | |
set-window-option -g window-status-current-fg colour15 | |
set-window-option -g window-status-current-attr bold | |
set-window-option -g window-status-current-format ' #I #W ' | |
## set window notifications | |
set-option -g visual-activity on | |
set-option -g visual-content on | |
set-window-option -g monitor-activity on | |
set-window-option -g automatic-rename off | |
## tmux window titling for X | |
set-option -g set-titles on | |
set-option -g set-titles-string '[#I] #W' | |
set-window-option -g automatic-rename on | |
set-window-option -g window-status-format ' #I #W ' | |
set-window-option -g window-status-attr bold | |
# starts windows at 1 not 0 | |
set-option -g base-index 1 | |
## enable mouse | |
set-option -g mouse-select-pane on | |
set-window-option -g mode-keys vi | |
set-window-option -g mode-mouse on | |
# set-window-option -g monitor-activity off | |
# set-window-option -g monitor-content off | |
# set-option -g status-keys vi | |
# set-option -g history-limit 4096 | |
## pane border and colors | |
set-option -g pane-active-border-fg yellow | |
set-option -g pane-border-fg white |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment