Currently the user needs to add a list of file extensions to `/boot/config/editor.cfg`. For example "txt" to open "file.txt" with the text editor. It would be better to depend on the mime type of the file, so the `editor.cfg` becomes obsolete.