Created
August 27, 2015 10:58
-
-
Save Theminijohn/bfc319bf00dacce6d670 to your computer and use it in GitHub Desktop.
Tmux Conf File
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set prefix to Ctrl-Space | |
unbind C-b | |
set -g prefix C-Space | |
bind Space send-prefix | |
# Allows for faster key repetition | |
set -s escape-time 0 | |
# Design | |
set -g status-left '#[fg=#a09f93,bg=#2d2d2d,bold] ༼ つ◕_◕ ༽つ #[fg=white,bg=#2d2d2d,nobold]#[fg=colour245,bg=#2d2d2d,bold] #(whoami) #[fg=colour238,bg=white,nobold]' | |
set -g window-status-format "#[fg=#2d2d2d,bg=#747369] #I #W #[fg=#747369, bg=#2d2d2d]" | |
set -g window-status-current-format "#[fg=#2d2d2d,bg=#6699cc] ✖ #W #[fg=#6699cc, bg=#2d2d2d]" | |
set -g status-right '#[fg=#f99157]#(tmux-mem-cpu-load -g 5) | #[fg=#6699cc]| #[fg=#6699cc] Batt: #{battery_icon} #{battery_percentage} #{battery_remain} | %h %d | %H:%M' | |
set -g status-right-length 100 | |
# Use vi keys | |
set -gw mode-keys vi | |
# enable utf-8 on status bar | |
set -g status on | |
set -g status-utf8 on | |
# Mouse mode | |
set-window-option -g mode-mouse on | |
set-option -g mouse-select-pane on | |
set-option -g mouse-resize-pane on | |
set-option -g mouse-select-window on | |
# Load local configuration | |
set -g status-position top | |
set -g status-interval 2 | |
set -g status-justify left | |
# Set term color properly | |
set -g default-terminal "screen-256color" | |
# Act like vim for selecting panes | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
bind r source-file ~/.tmux.conf \; display "Reloaded config!" | |
bind ] next-window | |
bind [ previous-window | |
# default statusbar colors | |
set-option -g status-bg "#2d2d2d" | |
# List of plugins | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
set -g @plugin 'tmux-plugins/tmux-battery' | |
# Battery Plugin Customs | |
set -g @batt_charged_icon "◎" | |
set -g @batt_charging_icon "⚡" # 🔥 | |
set -g @batt_discharging_icon "💧" | |
# set -g @batt_attached_icon ":neutral_face:" | |
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) | |
run '~/.tmux/plugins/tpm/tpm' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment