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