From 275feca3607986af57b7d631bc58f62c38c2d067 Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Sun, 14 Aug 2022 23:08:36 -0700 Subject: [PATCH] :lipstick: Added .rs extension, but doesn't work --- ranger/rifle.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ranger/rifle.conf b/ranger/rifle.conf index 64eb29b0..7998e83d 100644 --- a/ranger/rifle.conf +++ b/ranger/rifle.conf @@ -266,9 +266,9 @@ label open, has xdg-open = xdg-open -- "$@" label open, has open = open -- "$@" # 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 = ${VISUAL:-$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|rs|js|sh|php = ask +label editor, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|rs|js|sh|php = ${VISUAL:-$EDITOR} -- "$@" +label pager, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|rs|js|sh|php = "$PAGER" -- "$@" ######################################################################