However the gun lobby has been generally ineffective and uncaring when it comes to protecting Americans' right to import guns from other countries. Collectors like importing guns, but American gun manufacturers have little interest in that. For instance, the NRA doesn't seem very upset about the Norinco ban, even 20+ years ago when the political/strategic situation between America and China was not on the minds of many. Another example is 922(r) compliance concerning domestic/foreign part counts; notorious among gun collectors as inane, arbitrary and pointless. Yet there doesn't seem to be much drive from the American gun lobby to get this fixed.
There were 18,361 total homicides in the US in 2007, 10,129 of which were committed with firearms.
There were 1,975 gang homicides in 2007, or ~10.8% of all homicides [1] I can't find anything contemporaneous, but a 1995 study said that 94%-96% of gang homicides used a firearm. Using the lower number, that would mean 1,857 of those were firearm homicides, or 18.3% of all firearm homicides.
There were 2,340 domestic murders in 2007 [2] (the header says female victims of domestic violence, but that stat is for both genders). [4] says that in 2002 54% of domestic violence homicides were carried out with a firearm, so that would be about 1,264 or ~12.4% of all firearm homicides.
Neither of those numbers is isolated to firearms; I couldn't find any studies specifically scoped to firearms. I also didn't dig very hard into how they get those numbers.
Estimates on accidental deaths put them at ~400 a year. [3]
CDC data for 2007 says there were ~17k suicides with firearms in 2007 (these aren't counted in the homicide numbers above).
Gang violence does seem like it has more firearm homicides than domestic violence, but not by a staggering margin, and it may have flipped since 2007.
1: https://nationalgangcenter.ojp.gov/survey-analysis/measuring... (scroll to the bottom, couldn't get a direct link)
2: https://bjs.ojp.gov/content/pub/pdf/fvv.pdf
3: https://injepijournal.biomedcentral.com/articles/10.1186/s40...
4: https://www.futureswithoutviolence.org/userfiles/file/Childr...
But my point was more that we only ever talk about gun violence when a very specific type of gun violence occurs, and pointing out the incidents that constitute the bulk of the aggregate number usually gets you called a racist.