45 lines
1.2 KiB
Bash
45 lines
1.2 KiB
Bash
set -g @plugin 'tmux-plugins/tpm'
|
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
|
set -g @plugin 'laktak/extrakto'
|
|
set -g @plugin 'tmux-plugins/tmux-yank'
|
|
|
|
# Colors
|
|
set -g @bg "#1A212E"
|
|
set -g @fg "#93A4C3"
|
|
set -g @green "#8BCD5B"
|
|
set -g @orange "#DD9046"
|
|
set -g @red "#F65866"
|
|
|
|
# Status bar
|
|
set -g status-position bottom
|
|
set -g status-justify left
|
|
set -g status-style 'fg=#{@green} bg=#{@bg}'
|
|
|
|
set -g status-right-style 'fg=#{@bg} bg=#{@orange} bold'
|
|
set -g status-right ' %Y-%m-%d %H:%M:%S '
|
|
set -g status-interval 1
|
|
|
|
setw -g window-status-current-style 'fg=#{@bg} bg=#{@green}'
|
|
setw -g window-status-current-format ' #I #W #F '
|
|
|
|
setw -g window-status-style 'fg=#{@green} bg=#{@bg}'
|
|
setw -g window-status-format ' #I #[fg=#{@fg}]#W #[fg=#{@orange}]#F '
|
|
|
|
setw -g window-status-bell-style 'fg=#{@orange} bg=#{@red} bold'
|
|
|
|
# Controls
|
|
setw -g mode-keys vi
|
|
# set -g mouse on
|
|
|
|
# Detached sessions
|
|
set -g destroy-unattached on
|
|
|
|
# Make manual detachment different from defaults
|
|
# (to prevent accidental detachments)
|
|
unbind d
|
|
bind D confirm-before -p "Detach HOST tmux? (y/n)" detach-client
|
|
|
|
# Run tmux plugin manager
|
|
run '~/.tmux/plugins/tpm/tpm'
|