2023-07-26 08:58:47 +02:00
|
|
|
|
# set -g default-terminal screen-256color
|
|
|
|
|
# set -g default-terminal tmux-256color
|
|
|
|
|
set -g default-terminal xterm-256color
|
2023-07-24 10:12:31 +02:00
|
|
|
|
set -ga terminal-overrides ",*256col*:Tc"
|
2024-02-09 16:39:44 +01:00
|
|
|
|
|
2024-05-06 17:07:46 +02:00
|
|
|
|
set -g mouse on
|
2024-02-13 16:33:59 +01:00
|
|
|
|
bind r source-file ~/.tmux.conf \; display "Configuration Reloaded!"
|
2024-02-09 16:39:44 +01:00
|
|
|
|
set -s escape-time 0
|
|
|
|
|
setw -g aggressive-resize on
|
2023-07-24 10:12:31 +02:00
|
|
|
|
|
2024-02-09 16:39:44 +01:00
|
|
|
|
set -g display-time 2000
|
2023-07-24 10:12:31 +02:00
|
|
|
|
set-option -g history-limit 5000
|
|
|
|
|
setw -g automatic-rename on
|
|
|
|
|
|
2024-02-13 16:33:59 +01:00
|
|
|
|
set -g renumber-windows on
|
|
|
|
|
setw -g monitor-activity on
|
|
|
|
|
set -g visual-activity on
|
|
|
|
|
|
2023-07-24 10:12:31 +02:00
|
|
|
|
set-option -g status-position top
|
|
|
|
|
|
2024-02-09 16:39:44 +01:00
|
|
|
|
# # --> Catppuccin (Macchiato)
|
|
|
|
|
thm_bg="#24273a"
|
|
|
|
|
thm_fg="#cad3f5"
|
|
|
|
|
thm_cyan="#91d7e3"
|
|
|
|
|
thm_black="#1e2030"
|
|
|
|
|
thm_gray="#363a4f"
|
|
|
|
|
thm_magenta="#c6a0f6"
|
|
|
|
|
thm_pink="#f5bde6"
|
|
|
|
|
thm_red="#ed8796"
|
|
|
|
|
thm_green="#a6da95"
|
|
|
|
|
thm_yellow="#eed49f"
|
|
|
|
|
thm_blue="#8aadf4"
|
|
|
|
|
thm_orange="#f5a97f"
|
|
|
|
|
thm_black4="#5b6078"
|
2024-02-19 08:47:21 +01:00
|
|
|
|
thm_highlight="#1e1e2e"
|
2024-02-09 16:39:44 +01:00
|
|
|
|
|
2024-02-13 16:33:59 +01:00
|
|
|
|
set -g status-left-length 40
|
|
|
|
|
set -g status-interval 30
|
2024-02-14 10:36:12 +01:00
|
|
|
|
set -g status-left "#[fg=$thm_green]Session #S #[fg=$thm_black4]▶ #[fg=$thm_magenta]Pane #I #[fg=$thm_black4]▶ #[fg=$thm_yellow]Window #P #[fg=$thm_black4]| #[fg=$thm_red]"
|
2024-02-09 16:39:44 +01:00
|
|
|
|
set -g status-bg $thm_gray
|
|
|
|
|
set -g status-fg $thm_orange
|
2024-02-15 17:20:01 +01:00
|
|
|
|
|
|
|
|
|
# Set bg color of active window
|
2024-02-19 08:47:21 +01:00
|
|
|
|
set -g window-active-style bg=$thm_highlight
|
2024-02-15 17:20:01 +01:00
|
|
|
|
|
2024-02-09 16:39:44 +01:00
|
|
|
|
set-window-option -g window-status-current-style bg=$thm_black4
|
2024-02-13 16:33:59 +01:00
|
|
|
|
# set -g status-right "#(battery -t) #[fg=cyan] %d %b %R "
|
|
|
|
|
set -g message-style fg=$thm_black4,bold,bg=$thm_green
|
|
|
|
|
set -g pane-border-style fg=$thm_$thm_black4,bg=$thm_black
|
|
|
|
|
set -g pane-active-border-style fg=$thm_yellow,bg=$thm_black
|
2024-02-15 17:20:01 +01:00
|
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
|
#
|
|
|
|
|
# Copy mode (vi)
|
|
|
|
|
#
|
|
|
|
|
# Ctrl + [ to enter tmux vi copy mode
|
|
|
|
|
# Move around with vim navigation keys
|
|
|
|
|
# Begin highlight with Space
|
|
|
|
|
# Copy with Enter
|
|
|
|
|
# Paste with Ctrl + ]
|
|
|
|
|
################################################################################
|
|
|
|
|
set-window-option -g mode-keys vi
|