N2 — outside your level filter

ままに

ままにmama niN2neutral

just as X directs; wherever it takes one — you add no judgment

店員てんいんに勧すすめられるままに、高たかいコースを申もうし込こんでしまった。

ten'in ni susumerareru mama ni, takai koosu o moushikonde shimatta.

I went along with what the clerk pushed and signed up for the expensive plan. neutral

気きの向むくままに、知しらない町まちを歩あるいた。

ki no muku mama ni, shiranai machi o aruita.

I wandered around an unfamiliar town wherever the mood took me. neutral

Same meaning2

in this way; just as

All examples4

just as told — going along without judging for yourself

  1. 店員てんいんに勧すすめられるままに、高たかいコースを申もうし込こんでしまった。

    ten'in ni susumerareru mama ni, takai koosu o moushikonde shimatta.

    I went along with what the clerk pushed and signed up for the expensive plan. neutral

  2. 言いわれるままに書類しょるいにサインしちゃったんだよね。

    iwareru mama ni shorui ni sain shichatta n da yo ne.

    I just signed the papers like they told me to. casual

wherever it leads — following a feeling, not a plan

  1. 気きの向むくままに、知しらない町まちを歩あるいた。

    ki no muku mama ni, shiranai machi o aruita.

    I wandered around an unfamiliar town wherever the mood took me. neutral

  2. 筆ふでの赴おもむくままに書かき綴つづった随筆ずいひつでございます。

    fude no omomuku mama ni kakitsuzutta zuihitsu de gozaimasu.

    These are essays written just as the pen led. formal

How it's formed2

Notes

ままに needs someone else's will, or your own impulse, to follow. A set
of instructions with no will behind it takes とおりに instead.