how to make ctrl+p behave exactly like up arrow in zsh?

bindkey "^P" up-line-or-search

bindkey -e

This uses emacs keybindings and seems to work for me.