set EDITOR as first possibility to open tex and asy files

This commit is contained in:
Jeff Lance 2023-08-08 17:28:26 +02:00
parent 1c6c5369e3
commit 53a2d9a4f1

View File

@ -166,8 +166,8 @@ ext mobi, has ebook-viewer, X, flag f = ebook-viewer -- "$@"
ext xopp, has xournalpp, X, flag f = xournalpp "$@" 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, 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 -- "$@" mime ^text, ext tex|asy, has texmaker, X, flag f = texmaker -- "$@"
# Define the "editor" for text files as last action # Define the "editor" for text files as last action