In my shell (zsh) or in python, I can go backward through command history by pressing PageDown, and I can go forward by pressing PageUp.
But in ipython, these shortcuts are reversed.
Where are these shortcuts defined for ipython, and how can I reverse them back, so that
PageDown goes back in history, and PageUp goes forward in history?
I am using ipython3 version 5.8.0 on Debian 10.
Create script in
~/.ipython/profile_default/startupdirectory with any name ending with extension.pyor.ipyFor example i created
history_keybindings.pyand put it inside~/.ipython/profile_default/startupdirectoryNote: For more info check here