PLUGINS: vi-mode: ctrl-r for history searching

Added the standard behaviour of ctrl-r for history incremental searching.
This commit is contained in:
Daniel Campoverde [alx741] 2015-02-20 11:58:36 -05:00
commit 230cb0be79

View file

@ -34,9 +34,10 @@ bindkey -v
autoload -Uz edit-command-line
bindkey -M vicmd 'v' edit-command-line
# allow ctrl-p, ctrl-n for navigate history (standard behaviour)
# allow ctrl-p, ctrl-n, ctrl-r for navigate history (standard behaviour)
bindkey '^P' up-history
bindkey '^N' down-history
bindkey '^r' history-incremental-search-backward
# allow ctrl-h, ctrl-w, ctrl-? for char and word deletion (standard behaviour)
bindkey '^?' backward-delete-char