The easiest way I've found for global association is to simply press ctrl + km (or ctrl + shift + p and type โchange language modeโ) with the open file type you are associating with.
The first choice will be "Set file association for" x "" (regardless of the type of file - see the attached image). If you select this option, file type matching will be permanent.

Perhaps this has changed (maybe?) From the moment of the initial question / answer, and I donโt know when), but it is simpler than the previous steps of manual editing, and avoids the fuss with identifiers that may not be obvious.
JoelAZ Jul 08 '18 at 4:00 2018-07-08 04:00
source share