1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-22 03:21:30 +01:00

zsh: make visual editing work

This commit is contained in:
bretello 2021-12-08 23:53:09 +01:00
parent 29fc94db68
commit d302f40ffc
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

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