Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Using ubuntu 10.10 the editor in mc (midnight commander) is nano. How can i switch to the internal mc editor (mcedit)?

share|improve this question
add comment

4 Answers 4

up vote 10 down vote accepted

Press the following keys in order, one at a time:

  1. F9 Activates the top menu.
  2. o Selects the Option menu.
  3. c Opens the configuration dialog.
  4. i Toggles the use internal edit option.
  5. s Saves your preferences.

alt text

share|improve this answer
    
perfect answer! –  sdu Dec 9 '10 at 19:11
    
Can you also add how to change the editor to any other editor? –  trusktr Nov 4 '12 at 20:34
    
It would be better to specify a way to change this from the command line, but not by changing the OS default editor. –  sorin Apr 30 '13 at 8:10
    
This is great, but is there a way to do the same in the command line, say, by adding/changing an environment variable? I'd like to automate this. –  Nickolai Leschov Apr 5 at 17:34
add comment

Or change the standard editor...

Open a Terminal and type this command:

sudo update-alternatives --config editor

You will get an list of the installed Editors in your Ubuntu, and you can chose your favorit.

share|improve this answer
    
OP is not asking how to change the system default editor. –  Ryan Thompson Dec 9 '10 at 18:33
add comment

Open Midnight Commander, go to Options -> Configuration and check "use internal editor" Hit save and you are done.

share|improve this answer
add comment

Run MC as usual. On the command line right above the bottom row of menu selections type "select-editor" without the quotes. This should open a menu with a list of all of your installed editors. This is working for me on all my current linux machines.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.