mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 13:58:00 +00:00
Add ^_ mapping to undo in viins mode (#1860)
This allows to cancel a tab completion, as ^_ in emacs mode.
This commit is contained in:
parent
e9197234cf
commit
38882275b8
@ -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…
Reference in New Issue
Block a user