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