Make home/end keys whitespace aware