"\e[A": history-search-backward
"\e[B": history-search-forward

$if Bash
     Space: magic-space
$endif
