Created
June 13, 2018 17:37
-
-
Save justinclayton/0b4533fa8939887e6321b4c3716b93c4 to your computer and use it in GitHub Desktop.
This file contains 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
# Map prefix to Ctrl-a | |
unbind C-b | |
set -g prefix C-a | |
bind C-a send-prefix | |
bind r source-file ~/.tmux.conf | |
# Rename your terminals | |
#set -g set-titles on | |
#set -g set-titles-string '#(whoami)::#h::#(curl ipecho.net/plain;echo)' | |
########################### | |
## Dylan's Status Bar | |
############################ | |
# Automatic renaming of tab | |
setw -g automatic-rename off | |
## enable UTF-8 support in status bar | |
set -g status-utf8 on | |
## set refresh interval for status bar | |
set -g status-interval 1 | |
# status bar colors | |
set -g status-bg black | |
set -g status-fg white | |
# alignment settings | |
set-option -g status-justify centre | |
# status left options | |
set-option -g status-left '#[fg=green]#[bg=black,fg=blue]#S#[fg=green]' | |
set-option -g status-left-length 20 | |
# window list options | |
setw -g automatic-rename on | |
set-window-option -g window-status-format ' #[fg=cyan,dim]#I#[fg=blue]:#W#[fg=grey,dim]#F ' | |
set-window-option -g window-status-current-format '#[bg=blue,fg=cyan] #I#[bg=blue,fg=cyan]:#[fg=colour230]#W#[fg=dim]#F ' | |
set -g base-index 1 | |
# status right options | |
set -g status-right '#[fg=green]#[fg=blue]%Y-%m-%d #[fg=white]%H:%M#[default]' | |
#### COLOUR (Solarized dark) | |
# use 256 term for pretty colors | |
set -g default-terminal "screen-256color" | |
# default statusbar colors | |
set-option -g status-bg black #base02 | |
set-option -g status-fg yellow #yellow | |
set-option -g status-attr default | |
# default window title colors | |
set-window-option -g window-status-fg brightblue #base0 | |
set-window-option -g window-status-bg default | |
#set-window-option -g window-status-attr dim | |
# active window title colors | |
set-window-option -g window-status-current-fg brightred #orange | |
set-window-option -g window-status-current-bg default | |
#set-window-option -g window-status-current-attr bright | |
# pane border | |
set-option -g pane-border-fg black #base02 | |
set-option -g pane-active-border-fg blue #base01 | |
# message text | |
set-option -g message-bg black #base02 | |
set-option -g message-fg brightred #orange | |
# pane number display | |
set-option -g display-panes-active-colour blue #blue | |
set-option -g display-panes-colour brightred #orange | |
# clock | |
set-window-option -g clock-mode-colour green #green | |
## Status bar customization | |
#set -g status-utf8 on | |
#set -g status-bg black | |
#set -g status-fg white | |
#set -g status-interval 5 | |
#set -g status-left-length 90 | |
#set -g status-right-length 60 | |
#set -g status-left "#[fg=Green]#(whoami)#[fg=white]::#[fg=blue] \ | |
#$(hostname -s)#[fg=white]::##[fg=yellow]#(curl ipecho.net/plain;echo)" | |
# Make the mouse usable again | |
set-window-option -g mode-mouse on | |
#set -g mouse-select-pane on | |
#set -g terminal-overrides 'xterm*:smcup@:rmcup@' | |
set -g status-justify centre | |
set -g status-right '#[fg=Cyan]#S #[fg=white]%a %d %b %R' | |
# TMUX Plugins | |
# List of plugins | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
set -g @plugin 'tmux-plugins/tmux-pain-control' | |
# 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