事に

what someone did; the fact that something happened, decide to do, about a matter; over something, to one’s [feeling or evaluation]

→ 事
phrase Common #2,145
what someone did; the fact that something happened Turns the preceding action or statement into a noun phrase. Here, に links that fact or action to what follows.
JA: 彼の言った事に意味はない。
EN: What he said has no meaning.

花子はパリに行く事に心を決めている。

Hanako has made up her mind to go to Paris.

私たちは早く出発する事に意見が一致している。

We agree that we should leave early.

自分のした事に後悔はない

I have no regrets about what I did.

— セッション (2014)

全てがこのように終わった事に満足しています。

I’m satisfied with how everything turned out.

彼の言った事に意味はない。

What he said is meaningless.

今までしてくれた事にでもこれはやり過ぎだ

Even considering everything you've done for me up to now, this is too much.

— ファイト・クラブ (1999)

私はあなたの考えている事に非常に関心がある。

I’m very interested in what you’re thinking.

国家は祝福された彼を失った事に深く悲しみを感じます

The nation is deeply saddened by the loss of this blessed man.

— オデッセイ (2015)

彼はそんなに遅れた事にどんな理由を言ったのか。

What reason did he give for being so late?

あなたがした事には、とやかく言いません。

I won't criticize what you did.

phrase Rare #21,629
decide to do Attach it to a verb’s plain form to say that someone has decided to do something.
JA: 今の家は狭すぎるので、引っ越す事にした。
EN: My current home is too small, so I decided to move.

彼は大阪でなく東京に住む事にした。

He decided to live in Tokyo instead of Osaka.

今の家は狭すぎるので、引っ越す事にした。

My current place is too cramped, so I decided to move.

彼は夕食後に新聞を読む事にしている。

He makes it a rule to read the newspaper after dinner.

私は寝る前に本を読む事にしている。

I make it a habit to read a book before going to bed.

僕ら引っ越す事にしたんだ

We’ve decided to move.

— グッバイ、レーニン! (2003)

彼は試してみる事にした。

He decided to give it a try.

私は決して間食をしない事にしている。

I make it a rule never to snack.

私は主人と別れる事にしました。

I’ve decided to leave my husband.

彼は毎朝散歩する事にしている。

He makes it a point to go for a walk every morning.

phrase Rare #28,676
about a matter; over something 事 means “matter” or “thing,” and に marks it as the topic or target of an action or feeling. The natural English wording depends on the verb.
JA: 彼女はささいな事に腹を立てる。
EN: She gets angry over trivial things.

彼はこの事に人生を賭けているからね。

Because he’s betting his life on this.

そこの住民達は他人の事にやたらと興味を持つ人たちだった。

The residents there were unusually interested in other people’s affairs.

面倒な事にならないか?

Won’t this turn into a hassle?

— 預言者 (2009)

でも僕はやっと重要な事に気付いたんだ

But I finally realized something important.

— ファイト・クラブ (1999)

彼女はささいな事に腹を立てる。

She gets upset over trivial things.

トムはメアリーがしてくれた全ての事に感謝している。

Tom is grateful for everything Mary has done for him.

phrase Rare #36,478
to one’s [feeling or evaluation] Used after a phrase describing a feeling or evaluation to introduce a situation, as in 「幸運な事に」 (“fortunately”) or 「残念な事に」 (“unfortunately”).
JA: 私たちが本当にほっとした事には、翌朝彼が無事帰宅した。
EN: To our great relief, he returned home safely the next morning.

奇妙な事に、彼は死んだと言われている人に会った。

Strangely enough, he met someone who was said to be dead.

不思議な事に彼女にめったに会わない。

Oddly enough, I hardly ever see her.

良い事にぼくは

Fortunately, I...

— オデッセイ (2015)

私たちが本当にほっとした事には、翌朝彼が無事帰宅した。

To our great relief, he returned home safely the next morning.

彼女がとてもがっかりした事には、ピクニックの日は雨だった。

To her great disappointment, it rained on the day of the picnic.