1
0
Fork 0

[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.
pull/1347/head
Samantha McVey 8 years ago
parent 7fe28574a8
commit 17226b3d29
No known key found for this signature in database
GPG Key ID: A68DF012C3881D62

@ -48,6 +48,13 @@ zstyle ':prezto:load' pmodule \
# Set the key mapping style to 'emacs' or 'vi'. # Set the key mapping style to 'emacs' or 'vi'.
zstyle ':prezto:module:editor' key-bindings 'emacs' 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 ../.. # Auto convert .... to ../..
# zstyle ':prezto:module:editor' dot-expansion 'yes' # zstyle ':prezto:module:editor' dot-expansion 'yes'

Loading…
Cancel
Save