Re: disabling F4 opening large files




I would prefer no action at all when pressing F4. I can define rules for:
  Open=
  View=
but AFAIK, there is no option for
  Edit=

or is there?

I think there is.
Read ./home/YOU/.config/mc/mc.ext:
#    Open (if the user presses Enter or doubleclicks it),
#
#    View (F3), Edit (F4)

I have tried following, but that does not have any effect:

include/video
        Open=([ $(id -u) != 0 ] && [ "$DISPLAY" ] && mplayer %f
/dev/null 2>&1 &)
        View=%view{ascii} mediainfo %f
        Edit=

When I click F4 on a video file, mc still tries to open in in my text
editor. What am I doing wrong?


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