vi-mode: add CTRL+S to search history forward

Fixes #6999
This commit is contained in:
Marc Cornellà 2019-04-09 16:48:56 +02:00 committed by GitHub
parent 8a94013f37
commit a628b552c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,8 +28,9 @@ bindkey '^?' backward-delete-char
bindkey '^h' backward-delete-char
bindkey '^w' backward-kill-word
# allow ctrl-r to perform backward search in history
# allow ctrl-r and ctrl-s to search the history
bindkey '^r' history-incremental-search-backward
bindkey '^s' history-incremental-search-forward
# allow ctrl-a and ctrl-e to move to beginning/end of line
bindkey '^a' beginning-of-line