Skip to content

Instantly share code, notes, and snippets.

@GrayXu
Last active December 23, 2024 17:01
Show Gist options
  • Save GrayXu/851fa9b7db6733a2fb8ebc9569c26d35 to your computer and use it in GitHub Desktop.
Save GrayXu/851fa9b7db6733a2fb8ebc9569c26d35 to your computer and use it in GitHub Desktop.
personal tmux.conf (only for new tmux!)
# file path: ~/.tmux.conf
# download: wget http://gist.githubusercontent.com/GrayXu/851fa9b7db6733a2fb8ebc9569c26d35/raw/.tmux.conf -O ~/.tmux.conf
# note: for tmux > 2.8
# Enable title for Terminal
set-option -g set-titles on
set-option -g set-titles-string "#S / #W"
# Enable mouse mode (tmux 2.1 and above)
set -g mouse on
#Enable oh my zsh in tmux
set -g default-command /bin/zsh
# set time info on the right side
set -g status-right "#[fg=colour106]#(~/bin/system_info.sh) #[fg=colour208]|%d %b %R"
# set windows at center
set -g status-justify centre
set -g pane-border-style fg=colour189,fg=black
# set terminal color
set -g default-terminal "screen-256color"
# set status fg bg color
set -g status-style bg=colour23,fg=colour238
# set fg and bg of labels of windows
setw -g window-status-style fg=colour232,fg=default,dim
setw -g window-status-current-style fg=colour88,bg=colour130,bright
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment