Using ubuntu 10.10 the editor in mc (midnight commander) is nano. How can i switch to the internal mc editor (mcedit)?
Press the following keys in order, one at a time:
- F9 Activates the top menu.
- o Selects the
- c Opens the configuration dialog.
- i Toggles the
use internal editoption.
- s Saves your preferences.
Run MC as usual.
On the command line right above the bottom row of menu selections type
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.
You can also 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 on your system, and you can chose your favorite.
If you want to leave mc and system settings as it is now, you may just run it like
$ EDITOR=mcedit mc
Open Midnight Commander, go to Options -> Configuration and check "use internal editor" Hit save and you are done.