M-p and M-n don't work in irb
|ruby -v:||ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]
irb is supposed to use readline and M-a, M-e are bound to beginning-of-line and end-of-line respectively. However, M-p and M-n don't have the same effect as up-arrow and down-arrow. Why is this?
Okay, it seems to be a bug in readline, not irb.
I'm sorry, but I seem to have misunderstood the non-incremental-reverse-search-history and non-incremental-forward-search-history functions of readline. I expected it to work like in ZSH (which uses zle, not readline).
- Status changed from Open to Rejected
Thank you for your investigation. I'll close this ticket.
Also available in: Atom