Setup comint mode keys are parent.