Change default document 'edit' tool in Windows 10

Solved the issue myself. Turned out you have to change the key in

[HKEY_CLASSES_ROOT\SystemFileAssociations\text\shell\edit\command]