"Last change" of time in the header or status line

What will be the easiest way to display the last modified file time (the time during which the file was last saved) in the header or in the status bar?

I have a few ideas, but they all need to be parsed by dir (oh, I forgot to mention ... I use the output from Windows XP and cmd). Any better solutions? Or just ideas about what would be the shortest way to do this?

+4
source share
1 answer
:set title titlestring=%{strftime('%c',getftime(expand('%')))} 
+5
source

Source: https://habr.com/ru/post/1385283/


All Articles