Display statfmt file size with fixed width (#1405)
This commit is contained in:
1 parent
6aa3d2aa18
commit
990cea7e04
5 files changed
+15
-13
No files matched your search
@@ -187,7 +187,7 @@ The following options can be used to customize the behavior of lf:
|
||||
smartcase bool (default true)
|
||||
smartdia bool (default false)
|
||||
sortby string (default 'natural')
|
||||
statfmt string (default "\e033[36m%p\e033[0m| %c| %u| %g| %s| %t| -> %l")
|
||||
statfmt string (default "\e033[36m%p\e033[0m| %c| %u| %g| %S| %t| -> %l")
|
||||
tabstop int (default 8)
|
||||
tagfmt string (default "\e033[31m")
|
||||
tempmarks string (default '')
|
||||
@@ -1109,10 +1109,10 @@ Override 'ignoredia' option when the pattern contains a character with diacritic
|
||||
Sort type for directories. Currently supported sort types are 'natural', 'name', 'size', 'time', 'ctime', 'atime', and 'ext'.
|
||||
.PP
|
||||
.EX
|
||||
statfmt string (default "\e033[36m%p\e033[0m| %c| %u| %g| %s| %t| -> %l")
|
||||
statfmt string (default "\e033[36m%p\e033[0m| %c| %u| %g| %S| %t| -> %l")
|
||||
.EE
|
||||
.PP
|
||||
Format string of the file info shown in the bottom left corner. Special expansions are provided, '%p' as the file permissions, '%c' as the link count, '%u' as the user, '%g' as the group, '%s' as the file size, '%t' as the last modified time, and '%l' as the link target. The `|` character splits the format string into sections. Any section containing a failed expansion (result is a blank string) is discarded and not shown.
|
||||
Format string of the file info shown in the bottom left corner. Special expansions are provided, '%p' as the file permissions, '%c' as the link count, '%u' as the user, '%g' as the group, '%s' as the file size, '%S' as the file size but with a fixed width of four characters (left-padded with spaces), '%t' as the last modified time, and '%l' as the link target. The `|` character splits the format string into sections. Any section containing a failed expansion (result is a blank string) is discarded and not shown.
|
||||
.PP
|
||||
.EX
|
||||
tabstop int (default 8)
|
||||
|
||||
Reference in new issue
Block a user