How to disable special character selection popup when a key is held down
That command still works in Mojave, High Sierra and Mavericks — don't forget to reboot or logout/login after running the command.