tmux.conf
· 4.3 KiB · Text
Неформатований
"# ==========================================================\n# tmux.conf — configuración moderna\n# ==========================================================\n\n# -- Opciones generales ------------------------------------\nset -g default-terminal \"tmux-256color\"\nset -ga terminal-overrides \",*256color*:Tc\"\nset -g base-index 1\nset -g pane-base-index 1\nset -g renumber-windows on\nset -g set-clipboard on\nset -g escape-time 10\nset -g history-limit 5000\n\n# -- Mouse -------------------------------------------------\nset -g mouse on\nset -g mode-keys vi\n\n# -- Prefix: Ctrl+a ----------------------------------------\nunbind C-b\nset -g prefix C-a\nbind C-a send-prefix\nbind a last-window\n\n# -- Split panes -------------------------------------------\nbind | split-window -h\nbind - split-window -v\nunbind '\"'\nunbind %\n\n# -- Navegación Alt+hjkl -----------------------------------\nbind -n M-h select-pane -L\nbind -n M-j select-pane -D\nbind -n M-k select-pane -U\nbind -n M-l select-pane -R\n\n# -- Resize con Alt+Shift+hjkl -----------------------------\nbind -n M-H resize-pane -L 5\nbind -n M-J resize-pane -D 5\nbind -n M-K resize-pane -U 5\nbind -n M-L resize-pane -R 5\n\n# -- Modo copy (Esc) ---------------------------------------\nbind -n Escape copy-mode\nbind -T copy-mode-vi Escape send -X cancel\nbind -T copy-mode-vi v send -X begin-selection\nbind -T copy-mode-vi y send -X copy-selection-and-cancel\nbind -T copy-mode-vi C-v send -X rectangle-toggle\nbind -T copy-mode-vi r send -X rectangle-toggle\n\n# -- Display-popup: lista sesiones -------------------------\nbind S display-popup -w 90% -h 90% \"tmux list-sessions | fzf --header='Sessions' | cut -d: -f1 | xargs tmux switch-client -t\"\n\n# -- Display-menu ------------------------------------------\nbind m display-menu -T \"#[align=centre fg=#cba6f7] tmux \" -x C -y S \\\n \" New Window\" w \"neww\" \\\n \" New Session\" s \"new-session\" \\\n \" ⛶ Kill Pane\" x \"kill-pane\" \\\n \" Kill Window\" X \"killw\" \\\n \" Reload\" r \"source ~/.config/tmux/tmux.conf\" \\\n \" Detach\" d \"detach\"\n\n# -- Recarga de config -------------------------------------\nbind r source-file ~/.config/tmux/tmux.conf \\; display \"Reloaded!\"\n\n# -- Renumeración automática -------------------------------\nset -g renumber-windows on\n\n# -- Respawn automático ------------------------------------\nset -g remain-on-exit on\nset -g pane-border-status top\nset -g display-panes-time 3000\n\n# -- Estilo Catppuccin Mocha (manual) ----------------------\n# Paleta: Hex xterm\n# Rosewater: #f5e0dc 223\n# Flamingo: #f2cdcd 218\n# Pink: #f5c2e7 219\n# Mauve: #cba6f7 183\n# Red: #f38ba8 210\n# Maroon: #eba0ac 216\n# Peach: #fab387 216\n# Yellow: #f9e2af 222\n# Green: #a6e3a1 156\n# Teal: #94e2d5 152\n# Sky: #89dceb 117\n# Sapphire: #74c7ec 117\n# Blue: #89b4fa 111\n# Lavender: #b4befe 147\n# Text: #cdd6f4 188\n# Subtext 1: #bac2de 146\n# Subtext 0: #a6adc8 145\n# Overlay 2: #9399b2 103\n# Overlay 1: #7f849c 102\n# Overlay 0: #6c7086 60\n# Surface 2: #585b70 59\n# Surface 1: #45475a 238\n# Surface 0: #313244 237\n# Base: #1e1e2e 236\n# Mantle: #181825 235\n# Crust: #11111b 233\n\nset -g status-left-length 100\nset -g status-right-length 100\nset -g status-style \"bg=#1e1e2e\"\n\nset -g message-style \"bg=#45475a,fg=#cdd6f4\"\n\n# Window\nsetw -g window-status-style \"fg=#6c7086,bg=#1e1e2e\"\nsetw -g window-status-current-style \"fg=#cba6f7,bg=#313244,bold\"\nsetw -g window-status-format \" #I:#W \"\nsetw -g window-status-current-format \" #I:#W \"\nsetw -g window-status-separator \"\"\n\nset -g status-left \"#[fg=#181825,bg=#cba6f7,bold] #S #[fg=#cba6f7,bg=#1e1e2e,nobold]\"\n\nset -g status-right \"#[fg=#a6e3a1] #(uname -r | cut -d. -f1,2) #[fg=#89b4fa] #(date +%H:%M) #[fg=#fab387]\"\n\n# -- TPM (Tmux Plugin Manager) -----------------------------\n# Descomentar si se usa TPM:\n# set -g @plugin 'tmux-plugins/tpm'\n# set -g @plugin 'tmux-plugins/tmux-sensible'\n# set -g @plugin 'tmux-plugins/tmux-yank'\n# run '~/.config/tmux/plugins/tpm/tpm'\n"
| 1 | "# ==========================================================\n# tmux.conf — configuración moderna\n# ==========================================================\n\n# -- Opciones generales ------------------------------------\nset -g default-terminal \"tmux-256color\"\nset -ga terminal-overrides \",*256color*:Tc\"\nset -g base-index 1\nset -g pane-base-index 1\nset -g renumber-windows on\nset -g set-clipboard on\nset -g escape-time 10\nset -g history-limit 5000\n\n# -- Mouse -------------------------------------------------\nset -g mouse on\nset -g mode-keys vi\n\n# -- Prefix: Ctrl+a ----------------------------------------\nunbind C-b\nset -g prefix C-a\nbind C-a send-prefix\nbind a last-window\n\n# -- Split panes -------------------------------------------\nbind | split-window -h\nbind - split-window -v\nunbind '\"'\nunbind %\n\n# -- Navegación Alt+hjkl -----------------------------------\nbind -n M-h select-pane -L\nbind -n M-j select-pane -D\nbind -n M-k select-pane -U\nbind -n M-l select-pane -R\n\n# -- Resize con Alt+Shift+hjkl -----------------------------\nbind -n M-H resize-pane -L 5\nbind -n M-J resize-pane -D 5\nbind -n M-K resize-pane -U 5\nbind -n M-L resize-pane -R 5\n\n# -- Modo copy (Esc) ---------------------------------------\nbind -n Escape copy-mode\nbind -T copy-mode-vi Escape send -X cancel\nbind -T copy-mode-vi v send -X begin-selection\nbind -T copy-mode-vi y send -X copy-selection-and-cancel\nbind -T copy-mode-vi C-v send -X rectangle-toggle\nbind -T copy-mode-vi r send -X rectangle-toggle\n\n# -- Display-popup: lista sesiones -------------------------\nbind S display-popup -w 90% -h 90% \"tmux list-sessions | fzf --header='Sessions' | cut -d: -f1 | xargs tmux switch-client -t\"\n\n# -- Display-menu ------------------------------------------\nbind m display-menu -T \"#[align=centre fg=#cba6f7] tmux \" -x C -y S \\\n \" New Window\" w \"neww\" \\\n \" New Session\" s \"new-session\" \\\n \" ⛶ Kill Pane\" x \"kill-pane\" \\\n \" Kill Window\" X \"killw\" \\\n \" Reload\" r \"source ~/.config/tmux/tmux.conf\" \\\n \" Detach\" d \"detach\"\n\n# -- Recarga de config -------------------------------------\nbind r source-file ~/.config/tmux/tmux.conf \\; display \"Reloaded!\"\n\n# -- Renumeración automática -------------------------------\nset -g renumber-windows on\n\n# -- Respawn automático ------------------------------------\nset -g remain-on-exit on\nset -g pane-border-status top\nset -g display-panes-time 3000\n\n# -- Estilo Catppuccin Mocha (manual) ----------------------\n# Paleta: Hex xterm\n# Rosewater: #f5e0dc 223\n# Flamingo: #f2cdcd 218\n# Pink: #f5c2e7 219\n# Mauve: #cba6f7 183\n# Red: #f38ba8 210\n# Maroon: #eba0ac 216\n# Peach: #fab387 216\n# Yellow: #f9e2af 222\n# Green: #a6e3a1 156\n# Teal: #94e2d5 152\n# Sky: #89dceb 117\n# Sapphire: #74c7ec 117\n# Blue: #89b4fa 111\n# Lavender: #b4befe 147\n# Text: #cdd6f4 188\n# Subtext 1: #bac2de 146\n# Subtext 0: #a6adc8 145\n# Overlay 2: #9399b2 103\n# Overlay 1: #7f849c 102\n# Overlay 0: #6c7086 60\n# Surface 2: #585b70 59\n# Surface 1: #45475a 238\n# Surface 0: #313244 237\n# Base: #1e1e2e 236\n# Mantle: #181825 235\n# Crust: #11111b 233\n\nset -g status-left-length 100\nset -g status-right-length 100\nset -g status-style \"bg=#1e1e2e\"\n\nset -g message-style \"bg=#45475a,fg=#cdd6f4\"\n\n# Window\nsetw -g window-status-style \"fg=#6c7086,bg=#1e1e2e\"\nsetw -g window-status-current-style \"fg=#cba6f7,bg=#313244,bold\"\nsetw -g window-status-format \" #I:#W \"\nsetw -g window-status-current-format \" #I:#W \"\nsetw -g window-status-separator \"\"\n\nset -g status-left \"#[fg=#181825,bg=#cba6f7,bold] #S #[fg=#cba6f7,bg=#1e1e2e,nobold]\"\n\nset -g status-right \"#[fg=#a6e3a1] #(uname -r | cut -d. -f1,2) #[fg=#89b4fa] #(date +%H:%M) #[fg=#fab387]\"\n\n# -- TPM (Tmux Plugin Manager) -----------------------------\n# Descomentar si se usa TPM:\n# set -g @plugin 'tmux-plugins/tpm'\n# set -g @plugin 'tmux-plugins/tmux-sensible'\n# set -g @plugin 'tmux-plugins/tmux-yank'\n# run '~/.config/tmux/plugins/tpm/tpm'\n" |