Skip to content

Instantly share code, notes, and snippets.

@lebedov
Last active September 29, 2015 21:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lebedov/1673865 to your computer and use it in GitHub Desktop.
Save lebedov/1673865 to your computer and use it in GitHub Desktop.
A nice configuration for tmux 1.5 and later.
# Use backtick as control character:
set -g prefix `
unbind C-b
bind ` send-prefix
# Config reload key:
bind r source-file ~/.tmux.conf
set -g history-limit 7500
set -g default-terminal "screen-256color"
setw -g aggressive-resize off
set -g status-bg black
set -g status-fg white
set -g status-interval 1
setw -g monitor-activity on
set -g visual-activity on
set -g status-left '#[fg=green,bold]#h:#S#[default]'
set -g status-right '#[fg=yellow]#(cut -d " " -f 1-4 /proc/loadavg)#[default] #[fg=cyan,bold]%m-%d-%Y %H:%M:%S#[default]'
setw -g window-status-current-bg red
set -g mouse-resize-pane on
set -g mouse-select-pane on
set -g mouse-select-window on
set -g mode-mouse on
set -g mode-keys emacs
set -g set-titles on
set -g renumber-windows on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment