Bind arrow keys to search history