zsh: fix delete key

feature/symbol-search
bretello 2020-04-06 19:45:22 +02:00
parent 3101f2047c
commit 8bd637dc6b
1 changed files with 3 additions and 0 deletions

View File

@ -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