The basic idea is: have a regular scheduled appointment to do a thing I like. Say, have coffee at a nearby place every Friday at noon.
After a few weeks that becomes “something I do”—I expect to do it, plan for it. Then, add another appointment afterwards to write for an hour, say.
In time, that chains the habit of writing to the habit of getting out of the house and getting a coffee, the latter of which I do not have a strong resistance to doing.
I already do the café thing pretty regularly, anyway… this way, I’m making it part of my system for getting work done.
Worth a shot! Let’s see how it goes.