Created
December 28, 2014 20:05
-
-
Save anonymous/b9efcad183a438e489c8 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
#inspired by japacible conf | |
set -g default-terminal "xterm-256color" | |
# renumber windows sequentially after closing | |
set -g renumber-windows on | |
# status bar | |
set -g status-right '' | |
set-option -g status-attr dim | |
#set-option -g status-position top | |
# notification for activity on other windows | |
setw -g monitor-activity on | |
set -g visual-activity on | |
# set color for status bar | |
set-option -g status-bg "#0d1926" #base02 | |
set-option -g status-fg yellow #yellow | |
set-option -g status-attr dim | |
# set window list colors - red for active and cyan for inactive | |
set-window-option -g window-status-fg "#0d1926" #base0 | |
set-window-option -g window-status-bg colour23 | |
set-window-option -g window-status-attr dim | |
set-window-option -g window-status-current-fg brightred #orange | |
set-window-option -g window-status-current-bg colour236 | |
set-window-option -g window-status-current-attr bright | |
# show host name and IP address on left side of status bar | |
set -g status-left-length 70 | |
set -g status-left "#[fg=green]: #h : #[fg=brightblue]#(curl icanhazip.com) #[fg=yellow]#(ifconfig en0 | grep 'inet ' | awk '{print \"en0 \" $2}') #(ifconfig en1 | grep 'inet ' | awk '{print \"en1 \" $2}') #[fg=red]#(ifconfig tun0 | grep 'inet ' | awk '{print \"vpn \" $2}') " | |
# show session name, window & pane number, date and time on right side of | |
# status bar | |
set -g status-right-length 60 | |
set -g status-right "#[fg=blue]#S #I:#P #[fg=yellow]:: %d %b %Y #[fg=green]:: %l:%M %p :: #(date -u | awk '{print $4}')::" | |
# programs to be ressurected | |
set -g @resurrect-processes 'ssh psql mysql sqlite3 weechat cmus' | |
# set keybidings for @ressurect | |
set -g @resurrect-save 'S' | |
set -g @resurrect-restore 'R' | |
# List of plugins | |
# Supports `github_username/repo` or full git repo URLs | |
set -g @tpm_plugins ' \ | |
tmux-plugins/tpm \ | |
tmux-plugins/tmux-sensible \ | |
' | |
# Other examples: | |
# github_username/plugin_name \ | |
# git@github.com/user/plugin \ | |
# git@bitbucket.com/user/plugin \ | |
# Initializes TMUX plugin manager. | |
# Keep this line at the very bottom of tmux.conf. | |
run-shell '~/.tmux/plugins/tpm/tpm' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment