mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 18:38:00 +00:00
Fix unbound keys in vicmd/viins mode
Previously I made a change to try and bind these unbound keys to the main keymap in thoughts that in vicmd or viins mode it would fallback if it wasn't bound in vicmd/viins mode. This turned out not to be the case. Explicitly bind the keys in both viins and vicmd mode as works properly.
This commit is contained in:
parent
d6276e8025
commit
9f1a41de90
@ -307,7 +307,8 @@ unbound_keys=(
|
||||
"${key_info[PageDown]}"
|
||||
)
|
||||
for keymap in $unbound_keys; do
|
||||
bindkey -M main "${keymap}" _prezto-zle-noop
|
||||
bindkey -M viins "${keymap}" _prezto-zle-noop
|
||||
bindkey -M vicmd "${keymap}" _prezto-zle-noop
|
||||
done
|
||||
# Ctrl + Left and Ctrl + Right bindings to forward/backward word
|
||||
for keymap in viins vicmd; do
|
||||
|
Loading…
Reference in New Issue
Block a user