While trying to make vim default instead of gedit, I found this could be done two ways:
text/plain(and others) point to
vim.desktop(what is the format for creating
gnome-text-editor(right now it has only one alternative, so I guess I have to install one more. How to do that?)
Which is the better way to do it?