From 757081ece3c2e78440b61f1a24acea418902cbfb Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Wed, 24 Apr 2024 23:04:14 +0200 Subject: [PATCH] Update home/.config/ranger/rifle.conf --- home/dot_config/ranger/rifle.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/dot_config/ranger/rifle.conf b/home/dot_config/ranger/rifle.conf index 7f6931c..63e561b 100644 --- a/home/dot_config/ranger/rifle.conf +++ b/home/dot_config/ranger/rifle.conf @@ -140,8 +140,8 @@ mime ^text, ext tex|asy, has texmaker, X, flag f = texmaker -- "$@" # Define the "editor" for text files as last action mime ^text, label editor = ${VISUAL:-$EDITOR} -- "$@" mime ^text, label pager = "$PAGER" -- "$@" -!mime ^text, label editor, ext xml|json|csv|tex|py|pl|rb|js|sh|php|htm|html|xhtml = ${VISUAL:-$EDITOR} -- "$@" -!mime ^text, label pager, ext xml|json|csv|tex|py|pl|rb|js|sh|php|htm|html|xhtml = "$PAGER" -- "$@" +!mime ^text, label editor, ext xml|json|lua|csv|tex|py|pl|rb|js|sh|php|htm|html|xhtml = ${VISUAL:-$EDITOR} -- "$@" +!mime ^text, label pager, ext xml|json|lua|csv|tex|py|pl|rb|js|sh|php|htm|html|xhtml = "$PAGER" -- "$@" #------------------------------------------- # Websites