Update zsh/tmux with correct escape sequence passthroughs. Set tmux to xterm-256color.

This commit is contained in:
2026-03-28 20:27:07 -07:00
parent c0b9902d2e
commit 378ec986a2
2 changed files with 5 additions and 2 deletions

View File

@@ -65,8 +65,8 @@ set-option -g repeat-time 0
set -s escape-time 0
set -g history-limit 50000
set -g display-time 750
set -g default-terminal "screen-256color"
set -g default-terminal "xterm-256color"
set -g extended-keys on
set -as terminal-features ",screen-256color:extkeys"
set -as terminal-features ",xterm-256color:extkeys"
set -g focus-events on
setw -g aggressive-resize on

View File

@@ -13,6 +13,9 @@ setopt HIST_SAVE_NO_DUPS # don't save duplicates
setopt SHARE_HISTORY # share history across sessions
bindkey -e # emacs bindings
bindkey '\e[3~' delete-char # Delete key
bindkey '\e[1;3C' forward-word # Alt+Right
bindkey '\e[1;3D' backward-word # Alt+Left
# Completion
autoload -Uz compinit && compinit