yes (don't apply this to server)
This commit is contained in:
@@ -85,10 +85,10 @@ ext x?html?, has w3m, terminal = w3m "$@"
|
||||
# Misc
|
||||
#-------------------------------------------
|
||||
# Define the "editor" for text files as first action
|
||||
mime ^text, label editor = vim -- "$@"
|
||||
mime ^text, label editor = "$EDITOR" -- "$@"
|
||||
mime ^text, label pager = "$PAGER" -- "$@"
|
||||
!mime ^text, label editor, ext xml|json|csv|py|pl|sh|php|tex = vim -- "$@"
|
||||
!mime ^text, label editor, ext dart|rs|js|ts|rb = nvim -- "$@"
|
||||
!mime ^text, label editor, ext dart|rs|js|ts|rb|java = nvim -- "$@"
|
||||
!mime ^text, label pager, ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER" -- "$@"
|
||||
|
||||
ext 1 = man "$1"
|
||||
|
||||
Reference in New Issue
Block a user