I couldn’t change the default text editor from System Preferences, so I tried to find out how to do it.
- Right-click on the appropriate text file from Finder and select “Get Info”
- ▼ Select the text editor you want to set from this application (Atom this time)
- Complete the setting with “Change All” below.
It seems that you can select an editor for each file by skipping 3.