diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 326bd92..1e4b22a 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -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 diff --git a/zsh/.zshrc b/zsh/.zshrc index a9ad013..d13c8a7 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -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