zsh: make visual editing work

pull/6/head
bretello 2021-12-08 23:53:09 +01:00
parent 29fc94db68
commit d302f40ffc
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,8 @@ export VI_MODE_RESET_PROMPT_ON_MODE_CHANGE=true # refresh prompt on every mode c
# 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 KEYTIMEOUT=50 # reduce the transition time between vim modes to 0.1s
# bindkey -M vicmd 'V' edit-command-line # this remaps `vv` to `V` (but overrides `visual-mode`) # add this if the keytimeout is too slow
export HISTSIZE=10000000