Had to run the following command to make "press and hold keys to repeat" work. (for example holding down the e key will create eeeeeeeeeeeeeee, instead of an option menu to choose eêíë)
defaults write com.sublimetext.4 ApplePressAndHoldEnabled -bool false