arrow keys use all words, not just first for history search