Unverified Commit a628b552 authored by Marc Cornellà's avatar Marc Cornellà Committed by GitHub
Browse files

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

Fixes #6999
parent 8a94013f
...@@ -28,8 +28,9 @@ bindkey '^?' backward-delete-char ...@@ -28,8 +28,9 @@ bindkey '^?' backward-delete-char
bindkey '^h' backward-delete-char bindkey '^h' backward-delete-char
bindkey '^w' backward-kill-word 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 '^r' history-incremental-search-backward
bindkey '^s' history-incremental-search-forward
# allow ctrl-a and ctrl-e to move to beginning/end of line # allow ctrl-a and ctrl-e to move to beginning/end of line
bindkey '^a' beginning-of-line bindkey '^a' beginning-of-line
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment