Added yasnipet and some mac specific config. Also added Magit.