They shoudl be defined in a file (offhand i'm not sure which one). marking that file Read-Only, or alternatively creating a copy of it and re-copying over the defaults on a patch, should retain/restore your keybindings.
the disclaimer here is if there is any needed change/fix in that file, you...