It isn't always better for the environment to buy food locally. How it was farmed and how it was imported matter too. Most of the carbon footprint of groceries is from how they were grown and not how they were transported.
If it's in season where you live, then locally grown is best. If it's out of season, you need to consider a more nuanced point of view.
@InvaderXan Lots of good comments in here. I'll add this: It's complicated.
Where we get our food, how we get our food... it's very hard to push it all down to what we defiantly should and should not do.
But, small thing most people can do: reduce your lawn size and don't rake leaves.
Grass, for lawns, is one the largest crops grown in the US. Replace it with native shrubs and bushes, set aside area for wild flowers. It uses less water and provides habitat. Same with the leaves. Leave them!
And that's okay you have to rake, because there's a bigger consequence for not. And like I said, nothing is a definite for everyone.
I find, the more options that exist and the easier we make those options, the more likely people are to do the right thing.
I try to do what I can where I can, and then do the best I can where I can't.
@teslas_moustache Ohh! Those are going to be pretty when they come in! I've been considering a mechanical mower. How is it? If you've used it.