I have 4 camera gimbals, and I'm building a 5th. Most of the motors have a common problem:
"Normal" brushless motors have a few turns of wire on each core. For current-carrying reasons, the wire has to be fairly large diameter. This makes it relatively strong.
Gimbal motors, on the other hand have hundreds of turns on each core. In order to get that many turns, the wire has to be very fine (it looks like 32Ga or 34Ga to me). This wire is not strong! Even when 3 or 4 ends are combined to attach to one of the lead wires, the arrangement is weak. Pull on the lead wires with more than a pound or two, and you will have a lead wire in one hand, and a motor in the other. Don't ask me how I know this.
So, use a substance like GOOP (available at Home Depot) and use a tie-wrap end to force a small amount into the motors right at the point where the wires exit the motor case. If the wires go through some heat-shrink as they leave the case, put a small tie-wrap tightly around the heat shrink to hold the wires in place. After all, your GOOP made certain that the heat shrink tubing wouldn't be pulled out of the case, but it didn't prevent the wires from being pulled through the heat shrink.
And then there are crashes. After a crash, I have had props, batteries, cameras, arms, etc. winding up in places where they should not have been. You should design for crashes - that is, make certain that the expensive (or hard to get) stuff is NOT the part that breaks in a mishap. In some cases, simply pulling on a wire to re-route it can break it or the circuit board the wire is attached to.
Use tie-wraps to tie the motor leads to the frame close to the motor - assuming you trust your motor mounts. Use another tie-wrap to tie the wires exiting the ESC to the frame near the ESC. If something bad happens, hopefully the bullet connectors will pull apart before too much damage is done.
When planning the wiring of an aircraft, always consider what will happen if it crashes. Simply tying everything down is not always the right approach. It depends a lot on just what you tie the wires to.