implement in_select insertion mode