Hello. Maybe it has to do with the fact that in the KeyMap.ini various keys appear twice (ecUndo, ecRedo, ...) or even three times (ecLineBreak).
I created a fresh PSPad installation (5.0.5 (567) + 5.0.7 (649) beta), then assigned a shortcut to the first free entry in "Settings" / "Program Settings" / "Key Map" and saved the settings. This created a KeyMap.INI with the duplicate entries. Maybe you could take the opportunity to change the upper case of the file extension ".INI" for all newly created .ini files to lower case ".ini"? ;-) -- <https://forum.pspad.com/read.php?6,76011,76079> PSPad freeware editor https://www.pspad.com