When I notice that I am nervous or emotional and want to eat, I pick up some play doh or some other type of hand toy to distract my attention from food and give me an outlet for my nervous engery
Instead of keeping sweets and snacks around for stress eating at work, simply take fruits and veges to nibble on. If the sweets and fats aren't handy, you likely won't go looking for them if a bag of carrots is right there on your desk.
Leave the ATM/Visa card at home when going shopping. Get and carry cash. Once the cash is gone, the spending is done. This practice will help you stay in budget with groceries, clothes and daily convenience store stops.