News for hackers. Stuff that matters.
Re:Unix Tricks by JonnieCache on Thursday July 03, 2014 @04:22AM (#7982067)
Ctrl-P autocompletes from your history too. It works like Ctrl-R but after you've already started typing, if you see what I mean.

This might be a zsh thing though.

Re:Unix Tricks by uulbiy on Thursday July 03, 2014 @05:03AM (#7982143)
Ctrl-p in emacs takes you to the previous line. Since readline uses emcs-style notation by default, Ctrl-p takes you to the previous command in history (and Ctrl-n to the next). I don't know about zsh though.

Also, other emacs keys work like back: ctrl-b, meta-b, forward: ctrl-f, meta-f, start of line: ctrl-a, end of line: ctrl-e etc.