A gfi is great, but don't overlook the troubleshooting. If one of the neutral lines shorts to the ground or hull, the gfi trips. You must then find the problem before you can use any ac power.
The way to find it is to disconnect circuits one at a time until the gfi does not trip. Most Ms have eight circuits and no convenient way to disconnect them. The neutrals are all tied together to a bus bar at the ac panel that is tough to work with, and the wires are not marked.
One way to make this work is to use a socket and plug for each circuit. When you find the bad one you can leave it unplugged and still have some lights and power while looking for the problem. The entire circuit will need to be checked, unplug everything and plug the circuit in. then plug stuff back in until you find the problem.
1975 32' Flybridge Sedan, twin Perkins 6-354 diesels, 1:1.53 velvetdrives, 16 X 19 props. Merritt Island, Florida