map space to i->space->esc