A 23 gauge pin nailer is a good choice for fastening all types of trim and molding without splitting the wood.