all repos — zion-terminal @ 66508a0a605214d34c7a2231848d44ee63b394b2

dotfiles

opt/zion-terminal/config/tmux.conf (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
# =====================================================================
# ZION TERMINAL - Configuracao do tmux (cyberdeck)
# Cyberdeck criado por Pablo Murad em 2026 · Prefixo: Ctrl+B
# =====================================================================
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",*256col*:Tc"
set -g mouse on
set -g history-limit 50000
setw -g mode-keys vi
set -g base-index 1
setw -g pane-base-index 1
set -sg escape-time 10
set -g renumber-windows on
set -g status-interval 10

# Divisoes intuitivas
bind | split-window -h
bind - split-window -v

# --- Tema (segue 'zion tema'): gerado em ~/.tmux-zion-tema.conf ------
# Fallback (tema ice) caso o arquivo ainda nao exista:
set -g status-style "bg=colour24,fg=colour231"
set -g status-left " #[bold]»Z»#[nobold] #S "
set -g status-left-length 24
set -g status-right "#(/opt/zion-terminal/bin/zion-tmux-status) "
set -g status-right-length 60
set -g window-status-current-style "bg=colour39,fg=colour16,bold"
set -g pane-active-border-style "fg=colour51"
set -g pane-border-style "fg=colour24"
set -g message-style "bg=colour39,fg=colour16"
if-shell "test -f ~/.tmux-zion-tema.conf" "source-file ~/.tmux-zion-tema.conf"

# --- Persistencia de sessoes (tmux-resurrect) -----------------------
if-shell "test -f /opt/zion-terminal/assets/tmux-resurrect/resurrect.tmux" \
  "run-shell /opt/zion-terminal/assets/tmux-resurrect/resurrect.tmux"
# Salvar: Ctrl+B Ctrl+S   ·   Restaurar: Ctrl+B Ctrl+R