[runcoms/zpreztorc] Suggest changing the key timeout for vi mode users

Set the time for zsh to wait for additional keypresses. In vi mode you
should set this to 1 (0.1s) to remove the delay from entering and
exiting vicmd mode. The default is 0.5s.
Recommended in vi mode, but setting too low in emacs mode will not allow
time to enter additional keypresses.
This commit is contained in:
Samantha McVey 2017-06-23 13:56:16 -07:00
parent 7fe28574a8
commit 17226b3d29
No known key found for this signature in database
GPG key ID: A68DF012C3881D62

View file

@ -48,6 +48,13 @@ zstyle ':prezto:load' pmodule \
# Set the key mapping style to 'emacs' or 'vi'.
zstyle ':prezto:module:editor' key-bindings 'emacs'
# Set the time for zsh to wait for additional keypresses. In vi mode you
# can set this to 1 (0.01s) to remove the delay from entering and
# exiting vicmd mode. The default is 0.4s (KEYTIMEOUT=40)
# Recommended in vi mode, but setting too low in emacs mode will not allow
# time to enter additional keypresses.
#export KEYTIMEOUT=1
# Auto convert .... to ../..
# zstyle ':prezto:module:editor' dot-expansion 'yes'