From 90c0bb0ba9a5d0720b40d581c54b3f131dc6c676 Mon Sep 17 00:00:00 2001 From: ddementiev Date: Tue, 21 Apr 2026 18:15:38 +0000 Subject: [PATCH] update: .tmux.conf --- tmux/.tmux.conf | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 46bf8ec..fc3a885 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -20,7 +20,7 @@ set -g renumber-windows on set -g mouse on # Увеличиваем историю прокрутки (по умолчанию всего 2000 строк) -set -g history-limit 10000 +set -g history-limit 50000 # Убираем задержку после нажатия Esc (критично для пользователей Vim) set -s escape-time 0 @@ -46,8 +46,8 @@ bind -r K resize-pane -U 5 bind -r L resize-pane -R 5 # Изменение размера панелей зажатым Alt + стрелки -bind -n M-Left resize-pane -L 5 -bind -n M-Right resize-pane -R 5 +# bind -n M-Left resize-pane -L 5 +# bind -n M-Right resize-pane -R 5 bind -n M-Up resize-pane -U 5 bind -n M-Down resize-pane -D 5 @@ -82,3 +82,19 @@ bind -T copy-mode-vi v send-keys -X begin-selection # y - скопировать (Yank) bind -T copy-mode-vi y send-keys -X copy-selection-and-cancel +# === ТЕРМИНАЛ И СОВМЕСТИМОСТЬ === +set -g default-terminal "tmux-256color" +set -as terminal-overrides ",xterm-256color:RGB" +set -g focus-events on +set -s set-clipboard on + +# === CLAUDE CODE / AGENTIC CLI === +# allow-passthrough: tmux 3.3a+ (на Ubuntu 22 не заработает) +set -g allow-passthrough on +# extended-keys: tmux 3.2+ +set -s extended-keys on +set -as terminal-features 'xterm*:extkeys' + +# fallback для tmux 3.2a +# set -as terminal-overrides ",xterm*:kEND5=\033[1;5F:kHOM5=\033[1;5H" +