I have history-search-backward
mapped as PageUp.
When I type:
git push <PageUp><PageUp><PageUp>
- in Bash it begins to cycle through all history entries beginning with git push
- in Zsh it begins to cycle through all history entries beginning with git so it will list entries such
git status
,git remote update
etc. This is not what I want.
How can I have zsh behave like bash? What setopt
should I set?
Best Answer
Bind the history search of zsh to
[Page UP]
and[Page Down]
Bind the history search of zsh to
[UP]
and[Down]