diff options
-rw-r--r-- | ranger/defaults/apps.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ranger/defaults/apps.py b/ranger/defaults/apps.py index 061d2e0b..33c3131c 100644 --- a/ranger/defaults/apps.py +++ b/ranger/defaults/apps.py @@ -90,6 +90,10 @@ class CustomApplications(Applications): if f.document or f.filetype.startswith('text'): return self.either(c, 'editor') + # You can put this at the top of the function and mimeopen will + # always be used for every file. + self.either(c, 'mimeopen') + # ----------------------------------------- application definitions # Note: Trivial applications are defined at the bottom |