The Computer Oracle

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

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Magic Ocean Looping

--

Chapters
00:00 How To Make Ctrl+P Behave Exactly Like Up Arrow In Zsh?
00:44 Accepted Answer Score 33
00:51 Answer 2 Score 12
00:58 Thank you

--

Full question
https://superuser.com/questions/583583/h...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#shell #zsh

#avk47



ACCEPTED ANSWER

Score 33


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



ANSWER 2

Score 12


bindkey -e

This uses emacs keybindings and seems to work for me.