From 4b599e045a1e58b5853eb3ca51d80cc245ce58f9 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Fri, 4 Jan 2019 23:10:10 -0500 Subject: [PATCH] ms (groff_ms) files handled in ranger --- .config/ranger/rifle.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf index 512327f..0854afd 100644 --- a/.config/ranger/rifle.conf +++ b/.config/ranger/rifle.conf @@ -226,8 +226,9 @@ label wallpaper, number 13, mime ^image, has feh, X = feh --bg-center "$1" label wallpaper, number 14, mime ^image, has feh, X = feh --bg-fill "$1" # Define the editor for non-text files + pager as last action - !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = ask -label editor, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = $EDITOR -- "$@" -label pager, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER" -- "$@" + !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php|ms = ask +label editor, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php|ms = $EDITOR -- "$@" +label pager, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php|ms = "$PAGER" -- "$@" ext blend, has blender, X, flag f = blender -- "$@" +ext ms = $EDITOR -- "$@"