bind arrow key to history search