Ticket #1693: mc-4.7.0-alt-filetypes-lyx.patch

File mc-4.7.0-alt-filetypes-lyx.patch, 313 bytes (added by wRAR, 13 years ago)
  • misc/mc.ext.in

    diff --git a/misc/mc.ext.in b/misc/mc.ext.in
    index a093f88..f4910de 100644
    a b regex/\.([dD][vV][iI])$ 
    539539regex/\.([Tt][Ee][Xx])$ 
    540540        Open=%var{EDITOR:vi} %f 
    541541 
     542# lyx 
     543regex/\.(lyx|LYX)$ 
     544        Open=lyx %f 
     545        View=%view{ascii} lyxcat %f 
    542546 
    543547### Miscellaneous ### 
    544548