Skip to content

Instantly share code, notes, and snippets.

@mping
Created January 11, 2017 17:27
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 mping/493a4d2c8ce608041b132d62b80b9d69 to your computer and use it in GitHub Desktop.
Save mping/493a4d2c8ce608041b132d62b80b9d69 to your computer and use it in GitHub Desktop.
tmux
set -g default-terminal "screen-256color"
# use C-q for tmux
unbind-key C-b
set -g prefix 'C-q'
# ctrl+arrow up/down in emacs for history
set-window-option -g xterm-keys on
# Allows for faster key repetition
set -s escape-time 0
# Set status bar background color to colour232/black
set -g status-bg colour232
# Set windows backgrounded in the status bar to colour246/gray
set -g status-fg colour246
# Status bar refresh rate (seconds)
set -g status-interval 1
# Status bar character length
set -g status-left-length 30
# Sets current selected window to colour208/orange
set-window-option -g window-status-current-fg colour208
# On the left-side of status in green: print '{session_name} {user}@{hostname}'
set -g status-left '#[fg=green](#S) #(whoami)@#H#[default]'
# On the right of status in colour228/pastel_yellow : print time 'H:M m.d.y'
set -g status-right '#[fg=colour228]Pane: #P | #[fg=colour228]%a %m/%d/%Y %I:%M:%S%P'
#
# Set pane colors (Terminal must be using utf-8)
set -g pane-border-bg black
set -g pane-border-fg white
set -g pane-active-border-bg yellow
set -g pane-active-border-fg black
# disable window renaming
set-option -g allow-rename off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment