diff --git a/private_dot_config/ranger/rifle.conf b/private_dot_config/ranger/rifle.conf index bd562d1..ce2400e 100644 --- a/private_dot_config/ranger/rifle.conf +++ b/private_dot_config/ranger/rifle.conf @@ -87,8 +87,8 @@ ext x?html?, has w3m, terminal = w3m "$@" # Define the "editor" for text files as first action mime ^text, label editor = vim -- "$@" 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 dart|rs = nvim -- "$@" +!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 pager, ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER" -- "$@" ext 1 = man "$1"