Skip to content

Instantly share code, notes, and snippets.

@cmeiklejohn
Created July 23, 2010 18:56
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 cmeiklejohn/487873 to your computer and use it in GitHub Desktop.
Save cmeiklejohn/487873 to your computer and use it in GitHub Desktop.
My .tmux.conf file
# Setup status bar
set -g status-bg black
set -g status-fg white
set -g message-bg black
set -g message-fg green
set -g status-left '#[fg=green]#H #S'
# Highlight active window
set-window-option -g window-status-current-attr bright
set-window-option -g window-status-current-fg white
set-window-option -g window-status-current-bg black
# Load
# Add this for time: [fg=green,bold]%Y-%m-%d %H:%M:%S#[default]'
# This sysctl call may be OpenBSD specific.
set -g status-right '#[fg=yellow]#(sysctl -n vm.loadavg)'
# Underscore active window
#setw -g window-status-current-attr underscore
# Automatically set window title
#setw -g automatic-rename
# Set window notifications
setw -g monitor-activity on
#setw -g monitor-content on
set -g visual-activity on
# Reload key
bind r source-file ~/.tmux.conf
# Clock
setw -g clock-mode-colour cyan
setw -g clock-mode-style 24
# Terminal emulator window title
set -g set-titles on
set -g set-titles-string '#H #S:#I.#P #W'
# History
set -g history-limit 1000
# Use Vi mode
setw -g mode-keys vi
# Make mouse useful in copy mode
setw -g mode-mouse on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment