Make K enter <cr> and <esc> correctly