Hi.
There is no builtin switch for that, but you can use a Lua plugin like this:
local M = {}
local function fileMtime(info)
local text = ''
if info.entry.type ~= 'dir' then
text = os.date(vifm.opts.global.timefmt, info.entry.mtime)
end
return { text = text }
end
local added = vifm.addcolumntype {
name = 'FileMtime',
handler = fileMtime
}
if not added then
vifm.sb.error("Failed to add FileMtime view column")
end
return M
Then modify your command to be (mind that windo
might not be necessary in vifmrc
):
windo set viewcolumns=*{name}..,16{FileMtime},7{}
There is one defect though: it recognizes symbolic links to directories as files.