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

Re: Can't use mc's editor



On Mon 21 Mar 2022 at 14:08:14 (-0400), Felix Miata wrote:
> Nate Bargmann composed on 2022-03-21 12:35 (UTC-0500):
> 
> > tinkering with mc's config files directly which can only be done if all
> > instances of mc are closed.
> 
> Not IME, at least for ini and hotlist, the former which I change nearly as often
> with mcedit as I do via menu. Hotlist I only do with mcedit.

My recollection is that when you close mc, it writes back the current
settings to the ini file, which is why I keep mine readonly.

With multiple instances of mc running, one might get Nate's impression
above, unless any changes intended to be persistent are made in the
instance that's closed last.

> Mcedit is giving me no trouble. I use most than once a day most days.

I find the 4[Edit] key more useful as an extra alternative to 3[View]
and [Return] in choosing the Edit/View/Open scripts to run from mc.ext,
eg a different application, or windowed/fullscreen, or view metadata
rather than the file, etc.

If you want to edit the currently selected file, is there any major
disadvantage in simply typing   edit %p   in mc's command line?
There's one obvious advantage: you can type the name of any editor,
rather than being restricted to the list given by select-editor
(see Joe's post).

Cheers,
David.


Reply to: