I didn't want to move on from Charlotte Mason's chapter on Way of the Will without talking about her advice of "diversion" in training the will.
But suppose an unworthy idea present itself at the postern, supported by public opinion, by reason, for which even conscience finds pleas? The will soon wearies of opposition, and what is to be done?....When the overstrained will asks for repose, it may not relax to yielding point but may and must seek recreation, diversion,––Latin thought has afforded us beautiful and appropriate names for that which we require. A change of physical or mental occupation is very good, but if no other change is convenient, let us think of something else, no matter how trifling. ....The will does not want the support of arguments but the recreation of rest, change, diversion. In a surprisingly short time it is able to return to the charge and to choose this day the path of duty, however dull or tiresome, difficult or dangerous. This 'way of the will' is a secret of power, the secret of self-government, with which people should be furnished, not only for ease in practical right doing, or for advance in the religious life, but also for their intellectual well-being.
On a somewhat similar note, Francis de Sales says of resisting temptations:
The Catholic Encyclopedia describes the method of resisting temptations this way:
Therefore despise all these trivial onslaughts, and do not even deign to think about them; but let them buzz about your ears as much as they please, and flit hither and thither just as you tolerate flies;—even if they sting you, and strive to light within your heart, do no more than simply remove them, not fighting with them, or arguing, but simply doing that which is precisely contrary to their suggestions, and specially making acts of the Love of God. If you will take my advice, you will not toil on obstinately in resisting them by exercising the contrary virtue, for that would become a sort of struggle with the foe;—but, after making an act of this directly contrary virtue (always supposing you have time to recognise what the definite temptation is), simply turn with your whole heart towards Jesus Christ Crucified, and lovingly kiss His Sacred Feet. .....
In short, you may be sure that if you dally with your minor, oft-recurring temptations, and examine too closely into them in detail, you will simply stupefy yourself to no purpose.
Temptations are to be combated by the avoidance, where possible, of the occasions that give rise to them, by recourse to prayer, and by fostering within oneself a spirit of humble distrust of one's own powers and of unbounded confidence in God. The resistance which a Christian is bound to offer need not always be direct. Sometimes, particularly when there is question of reiterated evil interior suggestions, it may be useful to employ an indirect method, that is, to simply ignore them and quietly divert the attention into another channel.
Personally, I came across the "diversion" idea first from reading Francis de Sales, and I found it helpful. To me it seems that there are two components in this strategy -- one is the proactive side, mentioned often in Catholic catechesis, of avoiding "near occasion" and knowing yourself and your own weaknesses. So this means keeping a guard on one's heart and eyes, and staying away from situations that you know will be a trial for your good intentions.
The other component is the indirect response one. After a temptation has presented itself, it is often better to leave the subject alone rather than try to tackle it head-on or reason with it. To me it is a bit similar to the way you tackle a situation with a small child who is being difficult about something. Often it just aggravates the situation to dialogue back and forth, or escalate the emotional temperature by scolding or open disappointment, or offer punishments. That just locks and focuses the whole being on the conflict, and Francis de Sales says that even when this is temporarily successful, it does some damage to the spirit. He is talking about one's own spiritual battles here, but I've seen it apply to escalating power struggles between parents and children.
It's often seems more effective with "locked in" children to offer a simple one-liner and just move on, changing the whole situation if possible, but keeping the focus positive and not contributing with one's own negative emotion to the emotion already in the situation. Similarly, when my will is saying that something I want is not good for me, I find it helpful to just move on, not blaming myself or setting up a mighty battle where there is a personal cost for my whole self. You don't give into the temptation -- that would defeat the whole purpose, of course -- but you set yourself in a more spacious place if at all possible, so the battle doesn't get magnified out of all proportion.
I like Francis de Sales' advice to turn the thoughts and will immediately to Our Lord. After all, He was tempted and tried, too. I have also found it effective as he says, to "practice the opposite virtue"; St Ignatius recommends this too. A friend of my son's terms this as "turning weaknesses into strengths" which seems like a good way to describe the process in the long term.