Add bindings for searching history with the arrow keys