03 April 2008 10:15
How to Change the Default Text Editor on Ubuntu With Nautilus | Webmaster Tips
Just edit your ~/.local/share/applications/defaults.list (create it if you don't have one) and add the following text:
[Default Applications]
text/plain=gvim.desktop
That is, if you plan on using gvim, of course. Replace gvim with the appropriate filename otherwise (e.g., scite.desktop).
1
(1 marks)