Hi new members and welcome to the forum.
ceni - could you clarify - "hernia in my esophagus" - Is it a hernia of the diaphragm allowing the esophagus and stomach to push up part of the time? An actual hernia in the esophagus itself sounds sort of like diverticulitis of the esophagus, which would be something else alltogether.
Brandy - Is your hernia paraesophageal or sliding? Para needs repair because the stomach can rotate and have its blood supply cut off. That's a major emergency requiring immediate surgery.
ceni - I get esophageal spasms which trigger heart arrhythmias. A bunch of organs are connected by the vagus nerve, so it's easy to understand.
My symptoms are triggered by food allergies/intolerances. My gastro doc just had me taking PPIs, but my allergist got me keeping a "food journal" (look up in the search box at the top of the page). I found a specific bunch of foods that trigger my reactions, had to do "food challenges" (look up) to find the ingredients that are the culprits.
My specific trigger is mainly sulfites, but other people could be bothered by something else. There is no test for sulfite allergy/intolerance. A lot about this in the Allergy Forum. The only way to stop the reaction is avoiding foods that are loaded with the chemical. It's not like a peanut allergy though, all or none. You have to find your tolerance level. Main way is avoiding processed foods - any type of processing at all! I can't eat gelatin or corn starch or artificial sweeteners and flavors in particular. Wine and beer are out.
Although I was able to get the refluxing and heart reactions under control with diet, I needed a surgical repair after I was in a bad accident that caused a giant paraesophageal hernia. I still have to watch the diet because food intolerances don't go away. It's not bad at all - just cook from scratch, avoid fast foods for the most part.