vifm: show date/time in filelist
Asked Answered
R

1

7

Is it possible to tell vifm to show date and time in the file list, like here? Currently is showing only file sizes. I want to add date too. I have found the command set timefmt=%m/%d\ %H:%M and put it in ~/.vifmrc, but the date is shown only for the selected file at the bottom.

Raker answered 16/2, 2017 at 7:44 Comment(0)
E
9

If you look closer at the screenshot, you'll notice that files are sorted. By default second column is dependent on the sorting and if you sort by modification date, that's what will be in it. So there was no special setup apart from setting sorting.

If you want to always display modification time before the size, add this to ~/.vifm/vifmrc (note that it's not~/.vifmrc if your post doesn't contain a typo):

set viewcolumns=*{name}..,16{mtime},7{}.

You might want to check documentation on 'viewcolumns' option and column view to understand the syntax.

Etana answered 16/2, 2017 at 21:43 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.