Update zsh/tmux with correct escape sequence passthroughs. Set tmux to xterm-256color.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user