Controls change

hi,how do i changed the “Rotate View” key from Middle mouse button to Right mouse button?
if i press RMB it will open up the vertex context menu and i want it to be in MMB

so MMB as vertex context menu hotkey and RMB as Rotate view hotkey

Go in : Edit => Preferences => Keymap => 3d view => 3d view (global) => Rotate view (the one with Middle mouse at the end) => click on “middle mouse” => right click on it to change