docs: fix outdated documentation (#2564)

* fix outdated information regarding `dircounts`

* generate docs for `sortignorecase`/`sortignoredia`
This commit is contained in:
CatsDeservePets authored and GitHub committed 2026-05-02 05:31:29 +02:00
1 parent a88d55e077
commit 8d138cfd4e
3 files changed
+22 -11

No files matched your search

+19 -8
View File
@@ -1,6 +1,6 @@
.\" Automatically generated by Pandoc 3.7.0.2
.\"
.TH "LF" "1" "2026\-04\-08" "r42" "DOCUMENTATION"
.TH "LF" "1" "2026\-05\-02" "r42" "DOCUMENTATION"
.SH NAME
lf \- terminal file manager
.SH SYNOPSIS
@@ -340,6 +340,8 @@ sizeunits string (default \(aqbinary\(aq)
smartcase bool (default true)
smartdia bool (default false)
sortby string (default \(aqnatural\(aq)
sortignorecase bool (default true)
sortignoredia bool (default true)
statfmt string (default \(dq\(rs033[36m%p\(rs033[0m| %c| %u| %g| %S| %t| \-> %l\(dq)
tabstop int (default 8)
tagfmt string (default \(dq\(rs033[31m\(dq)
@@ -872,8 +874,8 @@ Therefore, this option is disabled by default for performance reasons.
This option only has an effect when \f[CR]info\f[R] has a
\f[CR]size\f[R] field and the pane is wide enough to show the
information.
999 items are counted per directory at most, and bigger directories are
shown as \f[CR]999+\f[R].
9999 items are counted per directory at most, and bigger directories are
shown as \f[CR]9999+\f[R].
.SS dirfirst (bool) (default true)
Show directories first above regular files.
With \f[CR]dircounts\f[R] enabled, sorting by \f[CR]size\f[R] always
@@ -947,9 +949,11 @@ shells.
This option has no effect when the value is left empty.
This option does not have any effect on Windows.
.SS ignorecase (bool) (default true)
Ignore case in sorting and search patterns.
Ignore case in search patterns.
See also \f[CR]sortignorecase\f[R].
.SS ignoredia (bool) (default true)
Ignore diacritics in sorting and search patterns.
Ignore diacritics in search patterns.
See also \f[CR]sortignoredia\f[R].
.SS incfilter (bool) (default false)
Apply filter pattern after each keystroke during filtering.
.SS incsearch (bool) (default false)
@@ -1160,8 +1164,8 @@ Determines whether file sizes are displayed using binary units
(\f[CR]1K\f[R] is 1024 bytes) or decimal units (\f[CR]1K\f[R] is 1000
bytes).
.SS smartcase (bool) (default true)
Override \f[CR]ignorecase\f[R] option when the pattern contains an
uppercase character.
Override \f[CR]ignorecase\f[R] option for searching when the pattern
contains an uppercase character.
This option has no effect when \f[CR]ignorecase\f[R] is disabled.
.SS smartdia (bool) (default false)
Override \f[CR]ignoredia\f[R] option when the pattern contains a
@@ -1183,6 +1187,12 @@ btime time of file birth
ctime time of last status (inode) change
custom property defined via \(gaaddcustominfo\(ga (empty by default)
.EE
.SS sortignorecase (bool) (default true)
Ignore case when sorting.
See also \f[CR]ignorecase\f[R].
.SS sortignoredia (bool) (default true)
Ignore diacritics when sorting.
See also \f[CR]ignoredia\f[R].
.SS statfmt (string) (default \f[CR]\(rs033[36m%p\(rs033[0m| %c| %u| %g| %S| %t| \-> %l\f[R])
Format string of the file info shown in the bottom left corner.
This option has no effect unless \f[CR]rulerfmt\f[R] is also set.
@@ -1439,7 +1449,8 @@ Command \f[CR]setlocal\f[R] is used to set a local option for a
directory which can be a boolean or string.
Currently supported local options are \f[CR]dircounts\f[R],
\f[CR]dirfirst\f[R], \f[CR]dironly\f[R], \f[CR]hidden\f[R],
\f[CR]info\f[R], \f[CR]reverse\f[R] and \f[CR]sortby\f[R].
\f[CR]info\f[R], \f[CR]reverse\f[R], \f[CR]sortby\f[R],
\f[CR]sortignorecase\f[R] and \f[CR]sortignoredia\f[R].
.IP
.EX
setlocal /foo/bar hidden # boolean enable