Skip to content

Instantly share code, notes, and snippets.

@ngnguyen1
Created March 14, 2012 14:17
Show Gist options
  • Save ngnguyen1/2036773 to your computer and use it in GitHub Desktop.
Save ngnguyen1/2036773 to your computer and use it in GitHub Desktop.
My config file tmux
# Make it use C-a, similar to screen..
unbind C-b
unbind l
set -g prefix C-a
bind-key a send-prefix
bind-key C-a last-window
# Remove default binding for split
unbind %
bind \ split-window -h
bind - split-window -v
# Set Vi mode in copy mode
set-window-option -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 ESC delay to 1ms for Vim
set -s escape-time 1
# Reload key
bind r source-file ~/.tmux.conf
set -g default-terminal "screen-256color"
set -g history-limit 100
# THEME
set -g status-bg white
set -g status-fg red
set -g status-interval 5
set -g status-left-length 30
set -g status-left '[#[fg=red]#H#[default]] #(uptime | cut -d " " -f 1-3 /proc/loadavg) |'
set -g status-right '#[fg=red]%d/%m/%Y | #[fg=red]%H:%M #[default]'
set-window-option -g window-status-current-bg red
set-window-option -g window-status-current-fg white
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment