Skip to content

Instantly share code, notes, and snippets.

@TyOverby
Created April 13, 2015 18:07
Show Gist options
  • Select an option

  • Save TyOverby/732423eb55d974963cc4 to your computer and use it in GitHub Desktop.

Select an option

Save TyOverby/732423eb55d974963cc4 to your computer and use it in GitHub Desktop.
# Make it use C-a, similar to screen..
unbind C-b
unbind l
set -g prefix C-a
bind-key C-a last-window
# Reload key
bind r source-file ~/.tmux.conf
set -g default-terminal "screen-256color"
set -g history-limit 1000
# THEME
set -g status-bg black
set -g status-fg white
set -g status-interval 60
set -g status-left-length 30
set -g status-left '#[fg=green](#S) #(whoami)@#H#[default]'
set -g status-right '#[fg=yellow]#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[fg=blue]%H:%M#[default]'
# set correct term
set -g default-terminal screen-256color
# MOVEMENT
bind-key k select-pane -U
bind-key j select-pane -D
bind-key h select-pane -L
bind-key l select-pane -R
# timeout
set-option -g repeat-time 0
set -s escape-time 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment