Sort files in specific folder with ranger

ranger

I would like to sort the files in my Screenshots folder by date, so I added the following to my rc.conf:

setlocal PATH=~/Screenshots sort mtime
setlocal PATH=~/Screenshots sort_reverse False

But it does not seem to work. Did I make a syntax error?

Thanks

Best Answer

While not an edit to rc.conf, these key bindings should help. "os" sorts by size first. Pressing "o" will bring up a list of different options. This resource helped me find the answers: http://dquinton.github.io/debian-install/files/ranger-keybinds_quinton.pdf.

Related Question