Weapon Quick Switch
This Factorio mod allows you to quickly switch between equipped weapons using the quickbar, which can be selected with the top-row number keys on your keyboard. This eliminates the need to cycle through weapons.
Usage: Set some quickbar slots to be weapon selectors, like shown on the screenshots. Now, when you click on that item, or press a key corresponding to the quickbar slot (top-row number keys by default), your active weapon switches to the corresponding slot.
This mod supports up to 15 weapon slots (maximum allowed by the game), configurable in mod settings.
By default, the item held in the cursor is cleared after switching weapons, you may configure in mod settings so that the mod tries to restore the same item previously held. This only works if you have that item in your inventory, and may conflict with other mods.