I can relate! My husband really enjoys eating ice cream at night. He'll have a huge bowl of it. I used to join him, but not anymore. Here's what helped me:
Slow down your eating and savor each bite. Stop the mindless eating. Put your snack on a plate or in a bowl. No seconds!
Write down everything you eat. Believe me, when you see the junk you're putting in your mouth, you'll either want to stop or make better choices.
Another thing that helps is portion control. Look at the nutrional information. See what 1 serving actually is. For example: with ice cream, 1 serving is typically 1/2 a cup. How many of us only have 1/2 cup of ice cream? A serving of peanut butter is typically 2 tablespoons. How many of us only use 2 tablespoons? Buy some measuring cups and spoons and measure things out for awhile. You'll probably be surprised.
Realize that you do not have to eat a snack when your husband does. Drink some herbal tea (I like Celestial Seasonings Cinnimon Spice & Apple, or green tea with a squeeze of lemon). Or if you want to eat a snack when he does, make sure it's a healthy alternative. Fruit, veggies & hummus, 1 serving of sorbet or ice cream - have 1 serving of your favorite piece of chocolate. I like dark chocolate and find that I cannot eat a lot of it. 1 serving does me fine - I nibble on it and savor each bite. Slow down your eating and savor each bite.
Hope this helps! Making little changes here and there makes a difference.