When drawing with one of the many tools, hold down the Shift key, and your lines should appear straight as you draw.