Do not call -refrsh every time a key is pressed because it makes scrolling in vim painfully slow (unless the input method editor is open)