mc commander text editor


Forum: Apps
Topic: mc commander text editor
started by: ginasas

Posted by ginasas on Jan. 25 2007,23:13
How can I edit and save text with F4 from mc commander? I don't know what is save command, what program exit command? or this is not full version ?
Posted by mikshaw on Jan. 26 2007,00:38
The mc in DSL is not the "full" version. It doesn't include mcedit that would typically be a part of an mc distribution. Instead it uses vim.

Save is :w
Save and quit is :wq
Quit is :q
Quit a modified file without saving is :q!

If you are more comfortable using nano as a text-based editor, you can use it in mc by setting your EDITOR variable to nano.
For example, from .bash_profile or .bashrc:
export EDITOR=nano

If you happen to love mcedit, it is available in the mc.uci extension

Posted by ginasas on Jan. 26 2007,07:57
Problem solved.
nano is better, thanks.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.