〜ことにする
Decide (on one's own) to…machine translation
FormationVerb dictionary form / ない-form + ことにする
ことにする expresses a decision made by YOU YOURSELF: 来月から自転車で会社へ行くことにしました (I've decided to bike to work starting next month). The past form ことにしました is the one you'll meet most — you're announcing a decision you've just made. With the ない-form, it's a decision not to do something: 飲まないことにしました (I've decided to quit — to stop drinking).
The form 〜ことにしています describes a personal rule you set for yourself and still keep: 毎朝走ることにしています (I make it a rule to run every morning). Compared with ようにしています (trying, possibly not always succeeding), ことにしています sounds more resolute — it's your personal law, not just an effort.
The most important contrasting pair is in the next lesson: ことにする — you decide; ことになる — it gets decided by others or by circumstances. For the same event, choosing one pattern is choosing how to tell the story: 結婚することにしました emphasizes "we decided to get married ourselves", while 結婚することになりました sounds modest, like "things have come to be this way". With nouns you don't use this pattern; use にする instead (see the 〜にする lesson): コーヒーにします.
Examples
来月から自転車で会社へ行くことにしました。
I've decided to go to work by bicycle starting next month.
健康のために、お酒を飲まないことにしました。
For my health, I've decided to stop drinking.
毎朝三十分走ることにしています。
I make it a rule to run for thirty minutes every morning.