Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

93 lines (72 sloc) 2.162 kb
# Remap prefix to Control + a
# set -g prefix §
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 \; display "Reloaded ~/.tmux.conf"
# Relax!
set -sg escape-time 0
set -sg repeat-time 600
# Mouse
set -g mode-mouse on
setw -g mouse-select-window on
setw -g mouse-select-pane on
# Less stretching to get to the first item.
set -g base-index 1
setw -g pane-base-index 1
# Quick pane cycling
unbind ^A
bind ^A select-pane -t :.+
# Use Vi mode
setw -g mode-keys vi
set -g status-keys vi
# More straight forward key bindings for splitting
unbind %
bind | split-window -h
bind h split-window -h
unbind '"'
bind - split-window -v
bind v split-window -v
bind < resize-pane -L 10
bind > resize-pane -R 10
bind - resize-pane -D 10
bind + resize-pane -U 10
bind . command-prompt
bind a last-window
bind space command-prompt -p index "select-window"
bind r source-file ~/.tmux.conf
# Terminal emulator window title
set -g set-titles on
set -g set-titles-string '#S:#I.#P #W'
# UTF8
set -g status-utf8 on
# Terminal junks!
set -g default-terminal "screen-256color"
set-option -g default-shell /bin/bash
# Bad Wolf
set -g status-fg white
set -g status-bg colour234
set -g window-status-activity-attr bold
set -g pane-border-fg colour245
set -g pane-active-border-fg colour39
set -g message-fg colour16
set -g message-bg colour221
set -g message-attr bold
# Custom status bar
set -g status-left-length 32
set -g status-right-length 150
set -g status-interval 5
set -g status-left '#[fg=colour16,bg=colour254,bold] #S #[fg=colour15,bg=colour238,bold] #I.#P '
set -g status-right '#[fg=colour245]| #(date +"%a") %d %b %R #[fg=colour247,bg=colour237]#(uptime | cut -d "," -f 3- | cut -d ":" -f2) #[fg=colour16,bg=colour247,bold] #h '
set -g window-status-format "#[fg=white,bg=colour234] #I #W "
set -g window-status-current-format "#[fg=colour16,bg=colour39,noreverse,bold] #I #W "
# Activity
setw -g monitor-activity on
set -g visual-activity on
# Autorename sanely.
setw -g automatic-rename on
# Better name management
bind c new-window
bind , command-prompt "rename-window '%%'"
Jump to Line
Something went wrong with that request. Please try again.