Skip to content

Instantly share code, notes, and snippets.

@mrhillsman
Created January 8, 2018 22:25
Show Gist options
  • Save mrhillsman/fe0e42b100e08ba94461d7655d52215b to your computer and use it in GitHub Desktop.
Save mrhillsman/fe0e42b100e08ba94461d7655d52215b to your computer and use it in GitHub Desktop.
tmux configuration
# Set the prefix to ^a.
unbind C-b
set -g prefix ^a
bind a send-prefix
##########################
# Session Initialization #
##########################
set-option -g history-limit 30000
#################
# Mouse Support #
#################
#setw -g mode-mouse on
#set -g mouse-select-pane on
#set -g mouse-resize-pane on
#set -g mouse-select-window on
##############
# Status Bar #
###############
set-option -g status-utf8 on
set-option -g status-justify right
set-option -g status-bg black # colour213 # pink
set-option -g status-fg cyan
# set-option -g status-interval 5
set-option -g status-left-length 30
set-option -g status-left '#[fg=magenta]» #[fg=blue,bold]#T#[default]'
set-option -g status-right '#[fg=red,bold][[ #(git branch) branch ]] #[fg=cyan]»» #[fg=blue,bold]###S #[fg=magenta]%R %m-%d#(acpi | cut -d ',' -f 2)#[default]'
set-option -g visual-activity on
# Add titles to status bar
set-option -g set-titles on
set-option -g set-titles-string '#H:#S.#I.#P #W #T'
set-option -g history-limit 50000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment