Curve editor segment

Select an option from the Curve Editor tab > Edit panel > Segment menu to cut or merge curves: