Cleanup doc (#1823)
This commit is contained in:
1 parent
3f63bc980f
commit
dda8e88aaf
3 files changed
+28
-10
No files matched your search
@@ -169,7 +169,7 @@ The following options can be used to customize the behavior of lf:
|
|||||||
info []string (default '')
|
info []string (default '')
|
||||||
infotimefmtnew string (default 'Jan _2 15:04')
|
infotimefmtnew string (default 'Jan _2 15:04')
|
||||||
infotimefmtold string (default 'Jan _2 2006')
|
infotimefmtold string (default 'Jan _2 2006')
|
||||||
locale string (default '')
|
locale string (default '')
|
||||||
mouse bool (default false)
|
mouse bool (default false)
|
||||||
number bool (default false)
|
number bool (default false)
|
||||||
numberfmt string (default "\033[33m")
|
numberfmt string (default "\033[33m")
|
||||||
@@ -824,13 +824,11 @@ Format string of the file time shown in the info column when it matches this yea
|
|||||||
|
|
||||||
Format string of the file time shown in the info column when it doesn't match this year.
|
Format string of the file time shown in the info column when it doesn't match this year.
|
||||||
|
|
||||||
## locale (string) (default `''`)
|
## locale (string) (default ``)
|
||||||
|
|
||||||
An IETF BCP 47 language tag (e.g. `zh-CN`) for specifying the locale used when using sort type
|
An IETF BCP 47 language tag (e.g. `zh-CN`) for specifying the locale used when using sort type `natural` and `name`.
|
||||||
`natural` and `name`.
|
|
||||||
|
|
||||||
An empty string means disable locale ordering, and the special value `'*'` is used
|
An empty string means disable locale ordering, and the special value `*` is used to indicate reading the locale setting from the system environment.
|
||||||
to indicate reading the locale setting from the system environment.
|
|
||||||
|
|
||||||
## mouse (bool) (default false)
|
## mouse (bool) (default false)
|
||||||
|
|
||||||
|
|||||||
@@ -159,6 +159,7 @@ The following options can be used to customize the behavior of lf:
|
|||||||
info []string (default '')
|
info []string (default '')
|
||||||
infotimefmtnew string (default 'Jan _2 15:04')
|
infotimefmtnew string (default 'Jan _2 15:04')
|
||||||
infotimefmtold string (default 'Jan _2 2006')
|
infotimefmtold string (default 'Jan _2 2006')
|
||||||
|
locale string (default '')
|
||||||
mouse bool (default false)
|
mouse bool (default false)
|
||||||
number bool (default false)
|
number bool (default false)
|
||||||
numberfmt string (default "\033[33m")
|
numberfmt string (default "\033[33m")
|
||||||
@@ -878,6 +879,15 @@ infotimefmtold (string) (default Jan _2 2006)
|
|||||||
Format string of the file time shown in the info column when it doesn't
|
Format string of the file time shown in the info column when it doesn't
|
||||||
match this year.
|
match this year.
|
||||||
|
|
||||||
|
locale (string) (default ``)
|
||||||
|
|
||||||
|
An IETF BCP 47 language tag (e.g. zh-CN) for specifying the locale used
|
||||||
|
when using sort type natural and name.
|
||||||
|
|
||||||
|
An empty string means disable locale ordering, and the special value *
|
||||||
|
is used to indicate reading the locale setting from the system
|
||||||
|
environment.
|
||||||
|
|
||||||
mouse (bool) (default false)
|
mouse (bool) (default false)
|
||||||
|
|
||||||
Send mouse events as input.
|
Send mouse events as input.
|
||||||
@@ -1306,9 +1316,9 @@ string:
|
|||||||
|
|
||||||
Command setlocal is used to set a local option for a directory which can
|
Command setlocal is used to set a local option for a directory which can
|
||||||
be a boolean or string. Currently supported local options are dirfirst,
|
be a boolean or string. Currently supported local options are dirfirst,
|
||||||
dironly, hidden, info, reverse, and sortby. Adding a trailing path
|
dironly, hidden, info, reverse, sortby and locale. Adding a trailing
|
||||||
separator (i.e. / for Unix and \ for Windows) sets the option for the
|
path separator (i.e. / for Unix and \ for Windows) sets the option for
|
||||||
given directory along with its subdirectories:
|
the given directory along with its subdirectories:
|
||||||
|
|
||||||
setlocal /foo/bar hidden # boolean enable
|
setlocal /foo/bar hidden # boolean enable
|
||||||
setlocal /foo/bar hidden true # boolean enable
|
setlocal /foo/bar hidden true # boolean enable
|
||||||
|
|||||||
@@ -177,6 +177,7 @@ incsearch bool (default false)
|
|||||||
info []string (default \[aq]\[aq])
|
info []string (default \[aq]\[aq])
|
||||||
infotimefmtnew string (default \[aq]Jan _2 15:04\[aq])
|
infotimefmtnew string (default \[aq]Jan _2 15:04\[aq])
|
||||||
infotimefmtold string (default \[aq]Jan _2 2006\[aq])
|
infotimefmtold string (default \[aq]Jan _2 2006\[aq])
|
||||||
|
locale string (default \[aq]\[aq])
|
||||||
mouse bool (default false)
|
mouse bool (default false)
|
||||||
number bool (default false)
|
number bool (default false)
|
||||||
numberfmt string (default \[dq]\[rs]033[33m\[dq])
|
numberfmt string (default \[dq]\[rs]033[33m\[dq])
|
||||||
@@ -895,6 +896,15 @@ this year.
|
|||||||
.PP
|
.PP
|
||||||
Format string of the file time shown in the info column when it
|
Format string of the file time shown in the info column when it
|
||||||
doesn\[aq]t match this year.
|
doesn\[aq]t match this year.
|
||||||
|
.SS locale (string) (default \[ga]\[ga])
|
||||||
|
.PP
|
||||||
|
An IETF BCP 47 language tag (e.g.
|
||||||
|
\f[C]zh-CN\f[R]) for specifying the locale used when using sort type
|
||||||
|
\f[C]natural\f[R] and \f[C]name\f[R].
|
||||||
|
.PP
|
||||||
|
An empty string means disable locale ordering, and the special value
|
||||||
|
\f[C]*\f[R] is used to indicate reading the locale setting from the
|
||||||
|
system environment.
|
||||||
.SS mouse (bool) (default false)
|
.SS mouse (bool) (default false)
|
||||||
.PP
|
.PP
|
||||||
Send mouse events as input.
|
Send mouse events as input.
|
||||||
@@ -1316,7 +1326,7 @@ Command \f[C]setlocal\f[R] is used to set a local option for a directory
|
|||||||
which can be a boolean or string.
|
which can be a boolean or string.
|
||||||
Currently supported local options are \f[C]dirfirst\f[R],
|
Currently supported local options are \f[C]dirfirst\f[R],
|
||||||
\f[C]dironly\f[R], \f[C]hidden\f[R], \f[C]info\f[R], \f[C]reverse\f[R],
|
\f[C]dironly\f[R], \f[C]hidden\f[R], \f[C]info\f[R], \f[C]reverse\f[R],
|
||||||
and \f[C]sortby\f[R].
|
\f[C]sortby\f[R] and \f[C]locale\f[R].
|
||||||
Adding a trailing path separator (i.e.
|
Adding a trailing path separator (i.e.
|
||||||
\f[C]/\f[R] for Unix and \f[C]\[rs]\f[R] for Windows) sets the option
|
\f[C]/\f[R] for Unix and \f[C]\[rs]\f[R] for Windows) sets the option
|
||||||
for the given directory along with its subdirectories:
|
for the given directory along with its subdirectories:
|
||||||
|
|||||||
Reference in new issue
Block a user