From 53a2d9a4f1d92555add896eb8dd28318f5ba468a Mon Sep 17 00:00:00 2001 From: Jeff Lance Date: Tue, 8 Aug 2023 17:28:26 +0200 Subject: [PATCH] set EDITOR as first possibility to open tex and asy files --- conf.d/ranger/rifle.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.d/ranger/rifle.conf b/conf.d/ranger/rifle.conf index 86ad499..b5ff937 100644 --- a/conf.d/ranger/rifle.conf +++ b/conf.d/ranger/rifle.conf @@ -166,8 +166,8 @@ ext mobi, has ebook-viewer, X, flag f = ebook-viewer -- "$@" ext xopp, has xournalpp, X, flag f = xournalpp "$@" -mime ^text, ext tex|asy, has texstudio, X, flag f = texstudio -- "$@" mime ^text, label editor, ext tex|asy, flag t = ${VISUAL:-$EDITOR} -- "$@" +mime ^text, ext tex|asy, has texstudio, X, flag f = texstudio -- "$@" mime ^text, ext tex|asy, has texmaker, X, flag f = texmaker -- "$@" # Define the "editor" for text files as last action