Finding an activity I love. For me it was running. Working out no longer feels like work. Even when my eating gets wonky, I keep running. The extra perk is running is easier at lower weights so I have a stronger reason to stay committed to healthy eating and weight management. For me "being thin" wasn't good enough. If it had been, I'd would have lost my weight a decade ago.
Also focusing on being fit rather than thin. Again for me, that has helped tremendously. Being thin, for me, meant starving and skipping meals, the less I ate the "better" I did at my "diet". Being fit means I have to care for my body and eat, but eat healthy, nutritious foods. Starving it is not an option. As my starving often lead to binging, it was a vicious cycle.
This means I also don't over do it with exercise (I used to obsessively exercise) and I take care to get adequate sleep. I drink less. Now I was never a drinker, per say, but I'd have a glass of wine at night a few times a week, but now I treat myself 1-2x a month. I also drink water all day, because staying hydrated is caring for my body. I try to practice de-stressing techniques and I try not to over load my plate (life) with too many responsibilities although at times it still happens.
Weight loss is no longer about eating as little as I can. Its a small piece of the puzzle to treating my body better. This mind set is helping me to recovery from my ED.