Skip to content

Instantly share code, notes, and snippets.

@lukassup
Created June 14, 2017 01:41
Show Gist options
  • Select an option

  • Save lukassup/09f53d9205aa5c6b91d028c1bc344470 to your computer and use it in GitHub Desktop.

Select an option

Save lukassup/09f53d9205aa5c6b91d028c1bc344470 to your computer and use it in GitHub Desktop.
##
# ~/.tmux.conf
#
# Override the primary prefix
set-option -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix
# Enable mouse
# set-option -g mouse on
# set-option -g default-terminal 'screen-256color'
set-option -g default-terminal 'tmux-256color' # italics only work in tmux-256color
set-window-option -g xterm-keys on
set-option -s escape-time 10 # faster command sequences
set-option -sg repeat-time 600 # increase repeat timeout
set-option -s focus-events on
set-option -g history-limit 8192
# Start windows numbering at 1
set-option -g base-index 1
# Make pane numbering consistent with windows
set-window-option -g pane-base-index 1
# Renumber windows when a window is closed
set-option -g renumber-windows on
# Set terminal and window titles
set-option -g set-titles on
set-window-option -g automatic-rename on
# Slightly longer pane indicators display time
set-option -g display-panes-time 800
# Slightly longer status messages display time
set-option -g display-time 1000
# Redraw status line every 10 seconds
set-option -g status-interval 10
# Activity
set-option -g monitor-activity on
set-option -g visual-activity off
# Move status line to top
set-option -g status-position top
# Color theme
set-option -g status-style fg=black,bright,reverse
set-option -g window-status-style bg=white,fg=black
set-option -g window-status-current-style bg=black,fg=white
set-option -g window-status-activity-style bg=black,fg=green
set-option -g window-status-bell-style bg=black,fg=yellow
# set-option -g status-left-length 30
# Old tmux compatibility
set-option -q -g status-utf8 on
set-window-option -q -g utf8 on
set-option -q -g mode-mouse on
set-option -q -g mouse-resize-pane on
set-option -q -g mouse-select-pane on
set-option -q -g mouse-select-window on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment