Hi @nguyendaotai95
I doubt you could modify M2P to MM to activate the osnap midpoint between two points.
But you assign some accelerator keys to activate that osnap as shown in the screencast below🙂
--------------------------------------------------------------------------------------------------------------------------
ವಿನೋದ್ ಕೆ ಎಲ್( System Design Engineer)

Likes is much appreciated if the information I have shared is helpful to you and/or others.
Please mark "Accept as Solution" if my reply resolves the issue or answers your question, to help others in the community.
--------------------------------------------------------------------------------------------------------------------------