Readline: map history search using arrow keys.