While trying to make vim default instead of gedit, I found this could be done two ways:
Use
defaults.listand maketext/plain(and others) point tovim.desktop(what is the format for creating.desktopfiles?)Use
update-alternativesand changegnome-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?
vim? – N 1.1 Apr 8 '11 at 6:56