How can I change my default text editor from gedit to Emacs?
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
Right click on a text file, point to "Open With" and it'll show other editors in a sub-menu. Click on "Other Application...". It'll show you a dialog with a list of applications, select Emacs and make sure the "Remember this application for "plain text document" file" option is checked. Click "Open". |
|||||||||
|
|
The answer didn't work on 12.10. Here is what worked in my case:
This also works on 12.04 and 13.04. |
||||
|
|
If you are working from the terminal then I would add the following to your .bashrc file (or the config file for your favorite shell):
|
|||
|
|
|
A more robust solution would be to replace the bindings in
|
||||
|