I m looking for a way to map CNTRL+p and CNTRL+n in command prompt to previous and next command in history. I m aware of F3 and up/down key but I m habituated to CNTRL+p/n on linux.
migrated from stackoverflow.com May 29 '12 at 10:10
This question came from our site for professional and enthusiast programmers.
You can translate Ctrl-P, Ctrl-N to Up and Down keys with AutoHotKey.
You can limit the translation to happen only in Cmd.exe window:
Well, I'm in Linux box, so I don't know the exact window title of cmd.exe, check it yourself.. Hope it works!