phdru.name / Software / dotfiles / mc

# My *additions* to Midnight Commander 3.0 extension file
#
# Text version here
#
# Generated by gvim :runtime syntax/2html.vim
#
### phd

type/^Berkeley\ DB\ 1.85
   View=%view{ascii} db_dump185 -p %f

# Compiled HTML
shell/.chm
   Open=fbreader %f &

# DejaVu
shell/.djvu
   #Open=djview %f &
   #Open=evince %f &
   Open=qpdfview %f &

# EPUB
shell/.epub
   Open=fbreader %f &

# FB2
shell/.fb2
   Open=fbreader %f &
   View=%view{ascii} xsltproc /usr/local/src/FictionBook/FB2_2_txt_ru.xsl %f

type/^PostScript
   #Open=evince %f &
   Open=qpdfview %f &
   View=%view{ascii} ps2ascii %f

# RTF
regex/\.([rR][tT][fF])$
   Open=fbreader %f &
   View=%view{ascii} catdoc %f

regex/\.([Dd][oO][cCtT]|[Ww][rR][iI])$
   Include=msoffice

regex/\.([Dd][oO][cC][Xx])$
   Edit=libreoffice %f &
   Open=libreoffice %f &
   View=%view{ascii} docx2txt %f - | iconv.py -f utf-8

type/^Microsoft\ Word
   Include=msoffice

type/^Microsoft\ Office\ Document
   Include=msoffice

type/^Composite\ Document\ File
   Include=msoffice

# ftplist
regex/\.ftplist$
   Open=%cd %p#ftplist

# Play list
regex/\.([mM]3[uU]|[pP][lL][sS])$
   Include=audio

# Lossless audio
regex/\.(cue|aac|ac3|ape|flac|wv|mka)$
   Include=audio

# Object
shell/.o
   View=%view{ascii} nm %f
   Disassemble=%view{ascii} objdump -d -r %f

# Python
shell/.py
   Open=python %f
   View=%view{ascii}
   Compile=compyle %s
   Icon=snake.xpm

regex/\.(tif|TIF|tiff|TIFF)$
   Open=xview %f

shell/.torrent
   Open=%cd %p/torrent://

regex/\.([xX][mM][lL])$
   Include=xml

type/^XML *(1\.0 *)?document text
   Include=xml

include/audio
   #Open=[ "`audtool --get-volume`" -eq 0 ] && (audacious & sleep 3); audtool --playlist-clear --playlist-addurl %f --playback-play
   #Open=smplayer %f &
   Open=deadbeef %f &
   #Open=mediaplayer_open %f
   View=%view{ascii} %f

include/msoffice
   Edit=libreoffice %f &
   Open=libreoffice %f &
   View=%view{ascii} catdoc %f

include/video
   Open=smplayer %f &
   #Open=mediaplayer_open %f
   View=%view{ascii} %f

include/xml
   Open=%cd %p/xml://

This is the page http://phdru.name/Software/dotfiles/mc/mc.ext.html. It was generated on Mon, 07 Sep 2015 22:00:53 GMT from CheetahTemplate mc.ext.tmpl. Some rights are reserved. Read more about technical aspects of the site.