|
|
@ -57,6 +57,9 @@ bind 'V' copy-mode |
|
|
|
# Enable clipboard integration |
|
|
|
set-option -g set-clipboard on |
|
|
|
|
|
|
|
bind-key -T copy-mode-vi 'C-v' send -X rectangle-toggle |
|
|
|
bind-key -T copy-mode-vi Escape send -X cancel |
|
|
|
|
|
|
|
# Use xclip for copying text in copy mode and stay in copy mode |
|
|
|
bind-key -T copy-mode-vi y send-keys -X copy-pipe "xclip -selection clipboard -in" |
|
|
|
bind-key -T copy-mode y send-keys -X copy-pipe "xclip -selection clipboard -in" |
|
|
@ -75,25 +78,43 @@ bind-key -r f run-shell "tmux neww ~/.local/bin/tmux-sessionizer" |
|
|
|
|
|
|
|
bind-key -r m run-shell "~/.local/bin/tmux-music" |
|
|
|
|
|
|
|
set -g mode-style "fg=#0c0c0c,bg=#b6b8bb" |
|
|
|
set -g message-style "fg=#0c0c0c,bg=#b6b8bb" |
|
|
|
set -g message-command-style "fg=#0c0c0c,bg=#b6b8bb" |
|
|
|
set -g pane-border-style "fg=#b6b8bb" |
|
|
|
set -g pane-active-border-style "fg=#78a9ff" |
|
|
|
set -g mode-style "fg=#98c379,bg=#3d4350" |
|
|
|
|
|
|
|
set -g message-style "fg=#98c379,bg=#3d4350" |
|
|
|
set -g message-command-style "fg=#98c379,bg=#3d4350" |
|
|
|
|
|
|
|
set -g pane-border-style "fg=#3d4350" |
|
|
|
set -g pane-active-border-style "fg=#98c379" |
|
|
|
|
|
|
|
set -g status "on" |
|
|
|
set -g status-justify "left" |
|
|
|
set -g status-style "fg=#b6b8bb,bg=#0c0c0c" |
|
|
|
|
|
|
|
set -g status-style "fg=#98c379,bg=#22262d" |
|
|
|
|
|
|
|
set -g status-left-length "100" |
|
|
|
set -g status-right-length "100" |
|
|
|
|
|
|
|
set -g status-left-style NONE |
|
|
|
set -g status-right-style NONE |
|
|
|
set -g status-left "#[fg=#0c0c0c,bg=#78a9ff,bold] #S #[fg=#78a9ff,bg=#0c0c0c,nobold,nounderscore,noitalics]" |
|
|
|
set -g status-right "#[fg=#0c0c0c,bg=#0c0c0c,nobold,nounderscore,noitalics]#[fg=#78a9ff,bg=#0c0c0c] #{prefix_highlight} #[fg=#b6b8bb,bg=#0c0c0c,nobold,nounderscore,noitalics]#[fg=#0c0c0c,bg=#b6b8bb] %Y-%m-%d %I:%M %p #[fg=#78a9ff,bg=#b6b8bb,nobold,nounderscore,noitalics]#[fg=#0c0c0c,bg=#78a9ff,bold] #h " |
|
|
|
setw -g window-status-activity-style "underscore,fg=#7b7c7e,bg=#0c0c0c" |
|
|
|
|
|
|
|
set -g status-left "#[fg=#282c34,bg=#98c379,bold] #S #[fg=#98c379,bg=#22262d,nobold,nounderscore,noitalics]" |
|
|
|
set -g status-right "#[fg=#22262d,bg=#22262d,nobold,nounderscore,noitalics]#[fg=#98c379,bg=#22262d] #{prefix_highlight} #[fg=#3d4350,bg=#22262d,bold,nounderscore,noitalics]#[fg=#98c379,bg=#3d4350] %Y-%m-%d %I:%M %p #[fg=#98c379,bg=#3d4350,nobold,nounderscore,noitalics]#[fg=#282c34,bg=#98c379,bold] #h " |
|
|
|
if-shell '[ "$(tmux show-option -gqv "clock-mode-style")" == "24" ]' { |
|
|
|
set -g status-right "#[fg=#22262d,bg=#22262d,nobold,nounderscore,noitalics]#[fg=#98c379,bg=#22262d] #{prefix_highlight} #[fg=#3d4350,bg=#22262d,bold,nounderscore,noitalics]#[fg=#98c379,bg=#3d4350] %Y-%m-%d %H:%M #[fg=#98c379,bg=#3d4350,nobold,nounderscore,noitalics]#[fg=#282c34,bg=#98c379,bold] #h " |
|
|
|
} |
|
|
|
|
|
|
|
setw -g window-status-activity-style "underscore,fg=#98c379,bg=#22262d" |
|
|
|
setw -g window-status-separator "" |
|
|
|
setw -g window-status-style "NONE,fg=#7b7c7e,bg=#0c0c0c" |
|
|
|
setw -g window-status-format "#[fg=#0c0c0c,bg=#0c0c0c,nobold,nounderscore,noitalics]#[default] #I #W #F #[fg=#0c0c0c,bg=#0c0c0c,nobold,nounderscore,noitalics]" |
|
|
|
setw -g window-status-current-format "#[fg=#0c0c0c,bg=#b6b8bb,nobold,nounderscore,noitalics]#[fg=#0c0c0c,bg=#b6b8bb,bold] #I #W #F #[fg=#b6b8bb,bg=#0c0c0c,nobold,nounderscore,noitalics]" |
|
|
|
setw -g window-status-style "NONE,fg=#98c379,bg=#22262d" |
|
|
|
setw -g window-status-format "#[fg=#22262d,bg=#22262d,nobold,nounderscore,noitalics]#[default] #I #W #F #[fg=#22262d,bg=#22262d,nobold,nounderscore,noitalics]" |
|
|
|
setw -g window-status-current-format "#[fg=#22262d,bg=#3d4350,nobold,nounderscore,noitalics]#[fg=#98c379,bg=#3d4350,bold] #I #W #F #[fg=#3d4350,bg=#22262d,nobold,nounderscore,noitalics]" |
|
|
|
|
|
|
|
# Requires tmux-plugins/tmux-prefix-highlight |
|
|
|
set -g @prefix_highlight_output_prefix "#[fg=#61afef]#[bg=#22262d]#[fg=#22262d]#[bg=#61afef]" |
|
|
|
set -g @prefix_highlight_output_suffix "" |
|
|
|
|
|
|
|
set -g @prefix_highlight_show_copy_mode 'on' |
|
|
|
set -g @prefix_highlight_show_sync_mode 'on' |
|
|
|
|
|
|
|
# List of plugins |
|
|
|
set -g @plugin 'tmux-plugins/tpm' |
|
|
|