In the ranger file manager, https://github.com/ranger/ranger, how can I open the currently selected file instead of all marked files?

I'd like to iterate through a directory and choose whether I mark each file after viewing it. I cannot really think of a scenario where I'd like to open all marked files, so I'd be happy with a solution that changes the default behavior of <Enter> or l

1 Answer 1


I don't know how to change the default because l and <enter> maps to move right=1 but I use O (for open) instead:

map O shell -f open %f

(%f maps to the highlighted file)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .