.config/mc/mc.ext
changeset 339 87ba9bf5f1dd
parent 338 02f1098079ef
child 444 af2617d3841f
--- a/.config/mc/mc.ext	Mon Apr 09 23:40:19 2012 +0300
+++ b/.config/mc/mc.ext	Tue Apr 10 00:04:16 2012 +0300
@@ -187,6 +187,16 @@
     Open=see %f 2>/dev/null &
     View=%view{ascii} catdoc -w %f
 
+regex/\.([Dd][oO][cCtT]|[Ww][rR][iI])$
+    Include=msword
+type/^Microsoft\ Word
+    Include=msword
+type/^Microsoft\ Office\ Document
+    Include=msword
+include/msword
+	Open=see %f >/dev/null 2>&1 &
+	View=%view{ascii} antiword -t %f || catdoc -w %f || word2x -f text %f - || strings %f
+
 ################################################################
 # Build rules.