]> git.phdru.name Git - dotfiles.git/blobdiff - .mc/menu
Feat(.mc): Add commands to view/edit XLSX files
[dotfiles.git] / .mc / menu
index d33756212cd99869d11dd288889378b8d866c745..6179a675e81138f9c53260def2b11701278e0736 100644 (file)
--- a/.mc/menu
+++ b/.mc/menu
@@ -90,6 +90,9 @@ o  View OpenDoc with odt2txt
 d  View docx with docx2txt
    docx2txt %f - | iconv.py -f utf-8 | ${PAGER:-more}
 
++= t lr & f \.(xls|XLS|xlsx|XLSX)$
+o  View OpenXlsx with xlsx2csv
+   xlsx2csv %f | iconv -f utf-8 | ${PAGER:-more}
 
 += t lr & f \.(xls|XLS)$
 x  View xls with xls2csv