How to remap space hotkey as attack?

Hi,

I would like to remap “Space” as my attack hotkey instead of “A” in customkeys.txt. I tried changed “A” by “Space” or “Spacebar”, but it did not work. Can anyone help? I am used to this setting, because I have it in Starcraft II.