diff options
Diffstat (limited to 'tag-zsh/config/zsh/zshrc')
-rw-r--r-- | tag-zsh/config/zsh/zshrc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index 63384f5..da63e64 100644 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -62,6 +62,8 @@ alias lal="ll -A" alias lla="lal" alias llr="ll -t" +zmodload zsh/terminfo + bindkey '\e[3~' delete-char bindkey '\C-hd' describe-key-briefly @@ -183,8 +185,8 @@ fi if zplug check alanpearce/zsh-directory-history then unsetopt flow_control # Let me use ^S and ^Q - bindkey '\e[B' directory-history-search-backward - bindkey '\e[A' directory-history-search-forward + bindkey "$terminfo[kcuu1]" directory-history-search-backward + bindkey "$terminfo[kcud1]" directory-history-search-forward bindkey -M emacs '^R' history-substring-search-up bindkey -M emacs '^S' history-substring-search-down |