Last active
May 27, 2019 20:45
-
-
Save mlaugharn/ec0b245abf9c62ddedfa to your computer and use it in GitHub Desktop.
nice tmux settings
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 -g default-shell /usr/bin/zsh | |
set -g default-command /usr/bin/zsh | |
set -g default-terminal "screen-256color" | |
# act like GNU screen | |
unbind C-b | |
set -g prefix C-a | |
set -g base-index 1 | |
set -s escape-time 0 | |
setw -g aggressive-resize on | |
# Set Status Bar | |
set-option -g status on | |
set-option -g status-interval 0 | |
set-option -g status-left-length 30 | |
set-option -g status-right-length 120 | |
set -g status-fg black | |
set -g status-bg cyan | |
#set -g status-left "~~~~~~~~~~~~" | |
#set -g status-right "#[fg=blue]#h - %r" | |
set -g status-interval 1 | |
set-window-option -g window-status-bg cyan | |
set-window-option -g window-status-fg black | |
set-window-option -g window-status-current-fg red | |
set-window-option -g window-status-current-bg black | |
# Set window notifications | |
setw -g monitor-activity on | |
set -g visual-activity on | |
# use PREFIX | to split window horizontally and PREFIX - to split vertically | |
bind | split-window -h | |
bind - split-window -v | |
set -g status-left '#[bg=black]#[fg=cyan]#(byobu-status tmux_left) >>= ' | |
set -g status-right "#(byobu-status tmux_right) "$BYOBU_DATE$BYOBU_TIME | |
set -g status-justify centre | |
set -g mouse on | |
set -g mouse-utf8 on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment