Continue PR: configure time format in the info column (#751)
* Allow to configure time format in the info column * Update infotimefmt PR from Krzysztof Maicher Add format length, rename options Co-authored-by: Krzysztof Maicher <krzysztof.maicher@gmail.com>
This commit is contained in:
1 parent
cbb80a0d44
commit
b08ab8dfb7
7 files changed
+55
-5
No files matched your search
@@ -160,6 +160,8 @@ The following options can be used to customize the behavior of lf:
|
||||
tabstop int (default 8)
|
||||
tempmarks string (default '')
|
||||
timefmt string (default 'Mon Jan _2 15:04:05 2006')
|
||||
infotimefmtnew string (default 'Jan _2 15:04')
|
||||
infotimefmtold string (default 'Jan _2 2006')
|
||||
truncatechar string (default '~')
|
||||
waitmsg string (default 'Press any key to continue')
|
||||
wrapscan bool (default on)
|
||||
@@ -875,6 +877,18 @@ A string that lists all marks to treat as temporary. They are not synced to othe
|
||||
.PP
|
||||
Format string of the file modification time shown in the bottom line.
|
||||
.PP
|
||||
.EX
|
||||
infotimefmtnew string (default 'Jan _2 15:04')
|
||||
.EE
|
||||
.PP
|
||||
Format string of the file time shown in the info column when it matches this year.
|
||||
.PP
|
||||
.EX
|
||||
infotimefmtold string (default 'Jan _2 2006')
|
||||
.EE
|
||||
.PP
|
||||
Format string of the file time shown in the info column when it doesn't match this year.
|
||||
.PP
|
||||
.EX
|
||||
truncatechar string (default '~')
|
||||
.EE
|
||||
|
||||
Reference in new issue
Block a user