When I try to open an image by pressing enter/>/l (have tried PNG & JPG) it just makes the command line at the bottom say :open_with.
Open the image in preview.
I tried typing "preview" (the default image viewer on mac) after the ":open_with" and all the other ways of typing it I could think of, like the path and "Preview.app" but nothing worked. All of the videos that I found to try to help me fix this issue was just making image previews show up, but I just want to open the image.
Add the following to your rifle.conf in ~/.config/ranger/rifle.conf, if you don't have one run ranger --copy-config=rifle first.
Somewhere in the "Image Viewing" section for example, the higher up the more precedence it takes.
mime ^image, flag f = open -- "$@"
Not really familiar with the syntax for OSX's open command but I think that should work.
Thanks! It worked. Last time I tried editing rifle.conf ranger just wouldn't launch. I guess the sources I used for that attempt were outdated or just didn't type it correctly.
mime ^image, flag f = open -- "$@"
anger
Most helpful comment
Thanks! It worked. Last time I tried editing rifle.conf ranger just wouldn't launch. I guess the sources I used for that attempt were outdated or just didn't type it correctly.