update: .tmux.conf
This commit is contained in:
1 parent
f5e8fec192
commit
90c0bb0ba9
1 file changed
+19
-3
+19
-3
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user