yadeyadeyadeya. Alot of theorising of wether nuts may or may not help: I actually just was reading wikipedia on Tryptophane and found out that Nuts, Bananas and Milk are excellent sources of Tryptophane.

And Tryptophane is the natural precursor of the neurotransmitters serotonine which partially regulates sleep. Serotonine makes us Happy, Energetic and more focussed/sharp, which is why when you're suffering from emotional depression you feel lifeless, miserable and sometimes very dissociated from reality/woozy/clouded and out of focus. So more Tryptophan means more resources to convert into Serotonine.

I can imagine that sleeping with a higher than average Serotonine level will cause you to have more vivid, memorable and linear dreams. So maybe this is worth some experimentation; Pre-load up with tryptophane rich foods like nuts before sleep.