ようと思う/ようと思っている => thinking of doing; planning to ~ N3
と思う => I think N5
と思っている => Plan to do something N4
Plan
かと思ったら/かと思うと => just when; no sooner than ~ N2
~かと思いきや => contrary to expectations; or so we thought, but ~ N1
Things do not match the prediction
... にと思って => To do..., to let... N2
Purpose, target
…かと思ったら => just when; no sooner than ~ N2
Things do not match the prediction
~とおもう(~と思う)      => tend to, be about to… N4
Intent
てっきり...と思う => surely; certainly; without a doubt N3
と[思「おも」]いきや => Even though A (was thought/expected), different result B N1
Contrast/Surprise
と([思「おも」]う、[言「い」]う、[考「かんが」]える) => That A N4
Particles
~ようとは思はなかった => I would not think to~ N1
Beyond expectations