How to disable special character selection popup when a key is held down

Solution 1:

That command still works in Mojave, High Sierra and Mavericks — don't forget to reboot or logout/login after running the command.