diff --git a/src/sampleconf/mimeconf b/src/sampleconf/mimeconf index 26418ca2..3eaed760 100644 --- a/src/sampleconf/mimeconf +++ b/src/sampleconf/mimeconf @@ -157,6 +157,7 @@ text/x-purple-log = exec rclpurple text/x-purple-html-log = internal text/html text/x-python = exec rclpython text/x-shellscript = internal text/plain +text/x-srt = internal text/plain text/x-tex = exec rcltex application/xml = exec rclxml diff --git a/src/sampleconf/mimemap b/src/sampleconf/mimemap index e866256c..0d53d3be 100644 --- a/src/sampleconf/mimemap +++ b/src/sampleconf/mimemap @@ -3,7 +3,7 @@ .txt = text/plain .text = text/plain -.srt = text/plain +.srt = text/x-srt .ini = text/x-ini .csv = text/x-csv diff --git a/src/sampleconf/mimeview b/src/sampleconf/mimeview index b3a50dee..91a3196c 100644 --- a/src/sampleconf/mimeview +++ b/src/sampleconf/mimeview @@ -134,6 +134,7 @@ application/x-perl = emacsclient --no-wait %f text/x-perl = emacsclient --no-wait %f application/x-shellscript = emacsclient --no-wait %f text/x-shellscript = emacsclient --no-wait %f +text/x-srt = emacsclient --no-wait %f # Or firefox -remote "openFile(%u)" text/html = firefox %u diff --git a/src/windows/mimeconf b/src/windows/mimeconf index a4ecfe78..26dfdd7b 100644 --- a/src/windows/mimeconf +++ b/src/windows/mimeconf @@ -146,6 +146,7 @@ text/x-mail = internal text/x-perl = internal text/plain text/x-python = exec python rclpython text/x-shellscript = internal text/plain +text/x-srt = internal text/plain application/xml = execm python rclxml text/xml = execm python rclxml diff --git a/src/windows/mimeview b/src/windows/mimeview index 50726ee3..8e905586 100644 --- a/src/windows/mimeview +++ b/src/windows/mimeview @@ -139,6 +139,7 @@ application/x-perl = emacsclient --no-wait %f text/x-perl = emacsclient --no-wait %f application/x-shellscript = emacsclient --no-wait %f text/x-shellscript = emacsclient --no-wait %f +text/x-srt = emacsclient --no-wait %f # Or firefox -remote "openFile(%u)" text/html = firefox %u