undo_mode has a keymap now