Set default text editor in KDE

I want to change the default text editor in KDE (FWIW: from Kate to code-oss). I know I can go to Settings->File Associations and change it tenths of times ЁЯЩБ Is there an easier way to do it?