I can't find a spell that matches everything you describe. There are the Darkvision and Greater Darkvision spells, but those only grant you regular darkvision, not the ability to see in supernatural darkness like you're describing. The Eyes of the Void spell from the Advanced Class Guide sounds like it might be what you're thinking of, since it does allow you to see through supernatural darkness.
I usually think of the Daylight spell as the solution for supernatural darkness - it doesn't work like you're describing, though it does have the benefit of working for everyone rather than a single person.
The Echolocation spell doesn't technically let you see in the dark, but it does grant 40 ft. of sound-based blindsight, which might make a good substitute.
As for magic items, the only one that I've found that grants the ability to see in supernatural darkness is the very expensive Rod of Shadows, which you might not be able to use at the same time as a ranged weapon. There's also an advanced rogue talent that allows a rogue who already has darkvision to upgrade it to the See In Darkness ability and see through supernatural darkness.