From 8bd637dc6b9e8bce240520378f5398decb30eb56 Mon Sep 17 00:00:00 2001 From: bretello Date: Mon, 6 Apr 2020 19:45:22 +0200 Subject: [PATCH] zsh: fix delete key --- brethil_dotfile.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/brethil_dotfile.sh b/brethil_dotfile.sh index 4a704ef..284f7e0 100755 --- a/brethil_dotfile.sh +++ b/brethil_dotfile.sh @@ -34,6 +34,9 @@ setopt NO_HIST_VERIFY # https://www.xkcd.com/378/ export EDITOR="vim" # if antibody_plugins.txt includes robbyrussell/oh-my-zsh path:plugins/vi-mode, this also sets `bindkey -v` +# Fix delete (delete! not backspace) key +bindkey -a '^[[3~' delete-char + export KEYTIMEOUT=1 # reduce the transition time between vim modes to 0.1s export HISTSIZE=100000