Re: replace mcedit with emacsclient without chaning $EDITOR

On Mon, 8 Feb 2010 19:38:15 -0500 Haines Brown KB1GRM ET1 wrote:
Tbanks, but apparently I missed something. I have a 
/usr/share/mc/bin/ In it I append the line:


The mc editor, however, remains nano. The line is ignored.

Please write exactly what you did.

/usr/share/mc/bin/ must be run directly or via some wrapper
like /etc/bashrc.d/

In, I added


line before 

/usr/bin/mc -P "$MC_PWD_FILE" "$@"

then started mc and unchecked the 'use internal edIt' option. If I
press F4 key, the selected file is opened in vim.


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