Re: changing editor in m-c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 14 May 2014 13:52:11 -0400, Frank McCormick wrote:

> I have spent sometime trying to figure out how to change the default
> editor in Midnight Commander. I am running XFCE most of the time on 
> Fedora 19
> 
> I have tried suggestions from Googling including exporting EDITOR in 
> $HOME/bashrc...running select-editor ( doesn't appear to be on Fedora 
> )and creating a .select_editor text file in HOME. None have worked so
> far.
> 
> If I open a terminal first then m-c loads the proper editor...but if I
> call m-c from a desktop file which loads a terminal, then loads m-c with 
> the -e option then vi is loaded.
> 
> I am missing something.

First of all, it's "mc" ("man mc") or "MC" (as pointed out in the README). ;)

Disabling "use internal edit" in mc's menu and setting $EDITOR works for
me. Obviously, this can only work if the environment is kept intact and
not deleted prior to executing programs. Some terminals and tools don't
pass on the user's environment variables when executing programs. If you
make your desktop file not run mc but a script or another terminal, does
echo $EDITOR still show your customized setting?

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux