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

Fixes #6999
master
Marc Cornellà 7 years ago committed by GitHub
parent 8a94013f37
commit a628b552c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      plugins/vi-mode/vi-mode.plugin.zsh

@ -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

Loading…
Cancel
Save