Is there any way to sort the files in vifm by time? Like ls -t in bash?

I need to copy the last 4 downloaded files in vifm. Therefore I need to find a way to sort.

2 Answers 2


Use ":sort" and it opens the menu to decide how to sort. You can press the desired letter to sort directly or you can select the sorting criteria by arrows. And use the left arrow to choose increasing or decreasing sorting. I'm still studying how to use it in a more efficient way but it works. Hope this is helpful

  • 4
    Thank for your answer. Actually one can get the same result by pressing the shift + s on the keyboard
    – amitoz
    Commented Nov 12, 2019 at 11:15
  • how to put that into .vifmrc ?
    – gruvw
    Commented May 28, 2022 at 6:41

You hit Esc and then type :set sort=-mtime

You must log in to answer this question.

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