Skip to content

Instantly share code, notes, and snippets.

@millisami
Created April 27, 2013 08:53
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 millisami/5472379 to your computer and use it in GitHub Desktop.
Save millisami/5472379 to your computer and use it in GitHub Desktop.
tmux conf
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# Make mouse useful in copy mode
setw -g mode-mouse on
# Allow mouse to select which pane to use
set -g mouse-select-pane on
set -g default-terminal "screen-256color"
set -g status-bg black
# Window Colors
setw -g window-status-fg cyan
setw -g window-status-bg default
setw -g window-status-attr dim
setw -g window-status-current-fg white
setw -g window-status-current-bg red
setw -g window-status-current-attr bright
# Pane Colors
set -g pane-border-fg green
set -g pane-border-bg black
set -g pane-active-border-fg white
set -g pane-active-border-bg yellow
# Customizing the Command Line
set -g message-fg white
set -g message-bg black
set -g message-attr bright
# Allow xterm titles in terminal window, terminal scrolling with scrollbar, and setting overrides of C-Up, C-Down, C-Left, C-Right
# set -g terminal-overrides "xterm*:XT:smcup@:rmcup@:kUP5=\eOA:kDN5=\eOB:kLFT5=\eOD:kRIT5=\eOC"
# Scroll History
set -g history-limit 30000
# Set ability to capture on start and restore on exit window data when running an application
setw -g alternate-screen on
# Start numbering at 1
set-option -g base-index 1
setw -g pane-base-index 1
set -g mouse-resize-pane on
set -g mouse-select-pane on
set -g mouse-select-window on
# re-number windows when one is closed
set -g renumber-windows on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment