I'm using iTerm2 w/ bash and I scroll up through the history buffer one line by typing Shift+Up
. When I switch to my zsh shell, it just inputs 2A
. How can I scroll up a single line in zsh w/ just my keyboard, preferably using Shift+Up
?
How to scroll up one line in zsh
zsh
Best Answer
I think it depends from the terminal emulator.
For example, with zsh, in konsole it works Shift+Up.
In xterm not, but it works Shift+PgUp.
It seems that with iTerm2 it should work by default :