Odds are you will die from something else. You will not die from a lack of oil, humans existed without it's resource a long time.Times may get tougher. As to global warming, if humanity is responsible in any measure it is more likely because of burning of oil byproducts in uncontrolled fashions such as Sadam's burning of the oil fields and accidental massive tire fires, these cause great amounts of carbon byproducts and soot to enter the atmosphere in sudden spurts that overwhelm the ecosystem.
A dangerous side effect of global warming (Whatever the cause),is the warming of the oceans. Warmer water contains less oxygen , and more dead zones are forming in the oceans. 80% of the O2 on Earth is created by Algae and symbiotic relationships between Algae and plankton.See Wikipedia entry on Algae.If we have less cold water then there could soon be a reduction of oxygen on Earth that could cause a cascade effect.Ironic is that internal engines need oxygen in order to run, they could stop running about the same time we do.An immediate precursor to such a reduction in Oxygen could be an ocean "Flash" in which an entire body of water amongst the world's oceans could turn into a great dead zone.Many projections of events are happening ahead of schedule as to global warming, so I will refrain from making a "guess" as there does seem to be an increased rate of warming that is breaking all the models. However if a Flash were to happen then the body of water would immediately stop producing oxygen and in an area as large as an ocean there would likely be an area of lowered oxygen air content moving ashore wherever the wind blows.
"Dead Air" could be rapidly fatal.
Something killed the Dinosaurs, but all humans as well have to face death, no one gets out alive. So to fear any one way of going makes no sense, you have to go regardless.
Find ways of dealing with your own eventual mortality and fear will pass. Rather consider the potential worth of our species and other species on Earth.
We may not be able to change what is to come.But despite the bleak potentials "some" may be able to survive due to our intellect and technological advancements.