In a medium bowl, whisk the flour with the baking powder and salt. In a large bowl, using a handheld electric mixer, beat the butter with the sugar at medium-high speed until light and fluffy, about 3 minutes. Add the eggs, one at a time, beating well between additions. Beat in the vanilla extract and scrape down the bowl. Add the dry ingredients to the batter in 3 additions, alternating with the buttermilk.