2019-03-15 17:54:29 +00:00
|
|
|
# List of plugins
|
|
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
|
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
|
|
set -g @plugin 'jimeh/tmux-themepack'
|
|
|
|
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
|
|
|
set -g @plugin 'tmux-plugins/tmux-yank'
|
2011-08-20 02:49:30 +00:00
|
|
|
|
2019-03-15 17:54:29 +00:00
|
|
|
# Theme
|
2020-02-19 13:47:12 +00:00
|
|
|
# set -g @themepack 'powerline/double/magenta'
|
2011-08-20 02:49:30 +00:00
|
|
|
|
2019-03-16 06:13:02 +00:00
|
|
|
# Save tmux sessions
|
|
|
|
set -g @resurrect-strategy-nvim 'session'
|
|
|
|
|
2019-09-27 18:26:26 +00:00
|
|
|
# Set zsh as default command so profile etc is properly loaded
|
2020-02-17 13:13:34 +00:00
|
|
|
set-option -g default-command fish
|
2019-09-27 18:26:26 +00:00
|
|
|
|
2019-03-15 17:54:29 +00:00
|
|
|
# Other examples:
|
|
|
|
# set -g @plugin 'github_username/plugin_name'
|
|
|
|
# set -g @plugin 'git@github.com/user/plugin'
|
|
|
|
# set -g @plugin 'git@bitbucket.com/user/plugin'
|
|
|
|
|
|
|
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
|
|
|
run '~/.tmux/plugins/tpm/tpm'
|
2020-02-18 11:47:01 +00:00
|
|
|
|
|
|
|
## COLORSCHEME: gruvbox dark
|
|
|
|
set-option -g status "on"
|
|
|
|
|
|
|
|
# default statusbar color
|
|
|
|
set-option -g status-style bg=colour237,fg=colour223 # bg=bg1, fg=fg1
|
|
|
|
|
|
|
|
# default window title colors
|
|
|
|
set-window-option -g window-status-style bg=colour214,fg=colour237 # bg=yellow, fg=bg1
|
|
|
|
|
|
|
|
# default window with an activity alert
|
|
|
|
set-window-option -g window-status-activity-style bg=colour237,fg=colour248 # bg=bg1, fg=fg3
|
|
|
|
|
|
|
|
# active window title colors
|
|
|
|
set-window-option -g window-status-current-style bg=red,fg=colour237 # fg=bg1
|
|
|
|
|
|
|
|
# pane border
|
|
|
|
set-option -g pane-active-border-style fg=colour250 #fg2
|
|
|
|
set-option -g pane-border-style fg=colour237 #bg1
|
|
|
|
|
|
|
|
# message infos
|
|
|
|
set-option -g message-style bg=colour239,fg=colour223 # bg=bg2, fg=fg1
|
|
|
|
|
|
|
|
# writing commands inactive
|
|
|
|
set-option -g message-command-style bg=colour239,fg=colour223 # bg=fg3, fg=bg1
|
|
|
|
|
|
|
|
# pane number display
|
|
|
|
set-option -g display-panes-active-colour colour250 #fg2
|
|
|
|
set-option -g display-panes-colour colour237 #bg1
|
|
|
|
|
|
|
|
# clock
|
|
|
|
set-window-option -g clock-mode-colour colour109 #blue
|
|
|
|
|
|
|
|
# bell
|
|
|
|
set-window-option -g window-status-bell-style bg=colour167,fg=colour235 # bg=red, fg=bg
|
|
|
|
|
|
|
|
## Theme settings mixed with colors (unfortunately, but there is no cleaner way)
|
|
|
|
set-option -g status-justify "left"
|
|
|
|
set-option -g status-left-style none
|
|
|
|
set-option -g status-left-length "80"
|
|
|
|
set-option -g status-right-style none
|
|
|
|
set-option -g status-right-length "80"
|
|
|
|
set-window-option -g window-status-separator ""
|
|
|
|
|
|
|
|
set-option -g status-left "#[fg=colour248, bg=colour241] #S #[fg=colour241, bg=colour237, nobold, noitalics, nounderscore]"
|
|
|
|
set-option -g status-right "#[fg=colour239, bg=colour237, nobold, nounderscore, noitalics]#[fg=colour246,bg=colour239] %Y-%m-%d %H:%M #[fg=colour248, bg=colour239, nobold, noitalics, nounderscore]#[fg=colour237, bg=colour248] #h "
|
|
|
|
|
|
|
|
set-window-option -g window-status-current-format "#[fg=colour237, bg=colour214, nobold, noitalics, nounderscore]#[fg=colour239, bg=colour214] #I #[fg=colour239, bg=colour214, bold] #W #[fg=colour214, bg=colour237, nobold, noitalics, nounderscore]"
|
|
|
|
set-window-option -g window-status-format "#[fg=colour237,bg=colour239,noitalics]#[fg=colour223,bg=colour239] #I #[fg=colour223, bg=colour239] #W #[fg=colour239, bg=colour237, noitalics]"
|