**System Information**
Operating system: Windows-10-10.0.19042-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 496.76
**Blender Version**
Broken: version: 3.0.0, branch: SelectThrough (modified), commit date: 2021-12-15 12:21, hash: `rB6349dd43b17a`
Worked: (newest version of Blender that worked as expected)
**Short description of error**
When saving a keymap either by overriding it (clicking the + button and typing the existing keymap name) or by exporting it and importing it back, all key bindings created by addons are duplicated, creating confusing, broken and bloated keymaps. As a result, users are forced to manually edit keymap .py files to fix the corruption.
**Exact steps for others to reproduce the error**
1. Activate an addon which adds custom key bindings (Use NodeWrangler as an example. It adds lots of key bindings, is widely used and comes bundled with Blender)
2. Save existing keymap under a new name
3. Export it
4. Import it back
Result: The large amount of key bindings in Node Editor section of keymap created by NodeWrangler is now doubled. Exporting and Importing the keymap again will triple the bindings, and so on.
Expected: The addon key bindings are not doubled when importing the keymap.
OR:
1. Activate an addon which adds custom key bindings (Use NodeWrangler as an example. It adds lots of key bindings, is widely used and comes bundled with Blender)
2. Save existing keymap under a new name
3. Override the existing keymap by clicking the + button and typing its name again
Result: The large amount of key bindings in Node Editor section of keymap created by NodeWrangler is now doubled. Exporting and Importing the keymap again will triple the bindings, and so on.
Expected: The addon key bindings are not doubled when importing the keymap.