3 ms·
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 tho
by JonnieCache 12y ago
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.
- uulbiy 12y agoCtrl-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.