shell_patterns=0

# F2 user menu. Format macros: %f current file · %d current dir · %s tagged
# files else current · %t tagged files · %D other panel's dir. Full list: mc(1).

c       Pack selected into an archive (ouch — format from the name's extension)
        NAME=%{Archive name, e.g. stuff.tar.zst}
        ouch compress %s "$NAME"

x       Unpack archive here (ouch)
        ouch decompress %f

i       Open file with image viewer (imv)
        imv %f

I       Open current directory with image viewer (imv)
        imv %d

p       Open file with document viewer (zathura)
        zathura %f

v       Play file with mpv
        mpv %f

V       Play current directory with mpv
        mpv %d

m       View a man page
        MAN=%{Enter manual name}
        %view{ascii,nroff} MANROFFOPT='-c -Tlatin1' MAN_KEEP_FORMATTING=1 man -P cat "$MAN"
