Skip to content

Instantly share code, notes, and snippets.

@onokatio
Created November 19, 2016 11:42
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 onokatio/2c43ed8a58dfab38c23bc3cd3db5a88e to your computer and use it in GitHub Desktop.
Save onokatio/2c43ed8a58dfab38c23bc3cd3db5a88e to your computer and use it in GitHub Desktop.
.tmux.conf
unbind C-b
set -g prefix C-a
set-option -g status-interval 1
set -sg escape-time 0
set-window-option -g mode-keys vi
set -g default-terminal "screen-256color"
set -g mouse on
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
setw -g monitor-activity on
set -g visual-activity on
set-option -g status-position top
set -g status-right-length 80
set-option -g status-right \
"#{?client_prefix,#[reverse],} (#(upower -i /org/freedesktop/UPower/devices/battery_BAT0|grep 'percentage'|sed -e 's/ //g'|sed -e 's/percentage://'|sed -e 's/%//')%) %Y-%m-%d(%a) %H:%M"
set -g status-left-length 50
set-option -g status-left " #(whoami)@#H"
set-window-option -g window-status-format ""
set-window-option -g window-status-current-format ""
set-option -g status-justify centre
bind | split-window -h
bind - split-window -v
set-option -g default-shell /bin/zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment