diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index 26f598de..470040a3 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -76,7 +76,7 @@ setw -g aggressive-resize on set -g detach-on-destroy off set -g extended-keys on set -g extended-keys-format csi-u -set -g terminal-features[3] "xterm-kitty:extkeys" +set -ag terminal-features "xterm-kitty:extkeys" set -sg escape-time 10 # Status bar diff --git a/migrations/1783833508.sh b/migrations/1783833508.sh index bd274e9c..1fc988fd 100644 --- a/migrations/1783833508.sh +++ b/migrations/1783833508.sh @@ -7,8 +7,8 @@ if [[ -f $tmux_config ]]; then sed -i '/^# Pane Controls$/a\bind -n M-Enter split-window -v -c "#{pane_current_path}"\nbind -n M-S-Enter split-window -h -c "#{pane_current_path}"\nbind -n M-Escape kill-pane\n' "$tmux_config" fi - if ! grep -q "terminal-features" "$tmux_config"; then - sed -i '/^set -g extended-keys-format csi-u$/a\set -g terminal-features[3] "xterm-kitty:extkeys"' "$tmux_config" + if ! grep -q "xterm-kitty:extkeys" "$tmux_config"; then + sed -i '/^set -g extended-keys-format csi-u$/a\set -ag terminal-features "xterm-kitty:extkeys"' "$tmux_config" fi omarchy-restart-tmux