From a6f315f8da0f98d2cd663aa4f70723271e3b8aa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Tue, 9 Aug 2022 15:11:55 +0200 Subject: [PATCH] Convert more keys to terminfo --- zsh/.zshrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index b06a51d..9880fd3 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -35,9 +35,9 @@ bindkey "$terminfo[kcuu1]" up-line-or-beginning-search # Up bindkey "$terminfo[kcud1]" down-line-or-beginning-search # Down # Use Home, End to go to beginning or end of lines -bindkey "^[[H" beginning-of-line -bindkey "^[[F" end-of-line -bindkey "^[[3~" delete-char +bindkey "$terminfo[khome]" beginning-of-line +bindkey "$terminfo[kend]" end-of-line +bindkey "$terminfo[kdch1]" delete-char zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|=*' 'l:|=* r:|=*' autoload -Uz compinit && compinit