Ok I just ate a whole sandwich without throwing up, but i noticed something interesting. I was feeling pretty sick and not enjoying the food, and yet I didn't feel the urge to vomit. At a certain point, I noticed I started having panic symptoms (heart beating fast, cold dread feeling etc...) which I thought would happen just because i was scared of throwing up, but this time the happened but i didn't start heaving. So I think maybe anxiety does have a lot to do with it. It's self-perpetuating - I throw up when anxious, and because I've associated eating with throwing up, I'm more likely to get anxious when eating. and throw up. Hopefully this medication will help me break the association and eat normally again. I'll keep you guys posted. as it may help a lot of people with the same problem.
What I'm taking is called 'motilium'. Have only been taking it 1 hour before food for 3 days, so I can't talk about its long-term efficacy yet but so far I am hopeful I may have found a temporary solution