This commit is contained in:
LinlyBoi
2023-02-10 23:43:47 +02:00
parent 171785c116
commit 5436946455

View File

@@ -87,8 +87,8 @@ ext x?html?, has w3m, terminal = w3m "$@"
# Define the "editor" for text files as first action # Define the "editor" for text files as first action
mime ^text, label editor = vim -- "$@" mime ^text, label editor = vim -- "$@"
mime ^text, label pager = "$PAGER" -- "$@" mime ^text, label pager = "$PAGER" -- "$@"
!mime ^text, label editor, ext xml|json|csv|py|pl|rb|js|sh|php|tex = vim -- "$@" !mime ^text, label editor, ext xml|json|csv|py|pl|sh|php|tex = vim -- "$@"
!mime ^text, label editor, ext dart|rs = nvim -- "$@" !mime ^text, label editor, ext dart|rs|js|ts|rb = nvim -- "$@"
!mime ^text, label pager, ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER" -- "$@" !mime ^text, label pager, ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER" -- "$@"
ext 1 = man "$1" ext 1 = man "$1"