A variant (I think) of this idea that I've been using for years: when I stop coding, I jot down what I was doing, whatever problems I was dealing with, and what I felt my next steps were going to be in a little Emacs buffer. It would probably be even smarter of me to take 20 seconds to figure out exactly the right set of Emacs tabs/frames to keep open alongside them, so when it was time to start up again, I'd get suc…
When I start from neutral, whether at start-of-day or after finishing a task, I check off what's done, then review the list to find a ripe task to launch into.