Re: disabling F4 opening large files



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

F3    == View
F4    == Edit
ENTER == Open

include/video    # does nothing
...Open=(mplayer %f >/dev/null 2>&1 &)

                 # you might have to apply it to a file name pattern
regex/\.(wmv|WMV)$
    Include=video

of course, I have matching pattern like this (I just left it out for the
sake of brevity):

regex/\.([aA][vV][iI])$
        Include=video
...
...
include/video
        Open=([ $(id -u) != 0 ] && [ "$DISPLAY" ] && mplayer %f &)
        View=%view{ascii} mediainfo %f
        Edit=



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