update keymap and show whitespace