Add ^_ mapping to undo in viins mode (#1860)

This allows to cancel a tab completion, as ^_ in emacs mode.
main
Matthieu PETIOT 4 years ago committed by GitHub
parent e9197234cf
commit 38882275b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -318,6 +318,7 @@ bindkey -M vicmd "$key_info[Control]X$key_info[Control]E" edit-command-line
# Undo/Redo
bindkey -M vicmd "u" undo
bindkey -M viins "$key_info[Control]_" undo
bindkey -M vicmd "$key_info[Control]R" redo
if (( $+widgets[history-incremental-pattern-search-backward] )); then

Loading…
Cancel
Save