Remove deprecated ruler option (#1766)
* Remove deprecated `ruler` option * Remove unused variable
This commit is contained in:
1 parent
b1f3dbe5ed
commit
ddea7bff1b
6 files changed
+1
-132
No files matched your search
@@ -1,6 +1,6 @@
|
||||
.\" Automatically generated by Pandoc 2.11.4
|
||||
.\"
|
||||
.TH "LF" "1" "2024-06-30" "" "DOCUMENTATION"
|
||||
.TH "LF" "1" "2024-07-01" "" "DOCUMENTATION"
|
||||
.hy
|
||||
.SH NAME
|
||||
.PP
|
||||
@@ -189,7 +189,6 @@ ratios []int (default \[aq]1:2:3\[aq])
|
||||
relativenumber bool (default false)
|
||||
reverse bool (default false)
|
||||
roundbox bool (default false)
|
||||
ruler []string (default \[aq]acc:progress:selection:filter:ind\[aq])
|
||||
rulerfmt string (default \[dq] %a| %p| \[rs]033[7;31m %m \[rs]033[0m| \[rs]033[7;33m %c \[rs]033[0m| \[rs]033[7;35m %s \[rs]033[0m| \[rs]033[7;34m %f \[rs]033[0m| %i/%t\[dq])
|
||||
scrolloff int (default 0)
|
||||
selectfmt string (default \[dq]\[rs]033[7;35m\[dq])
|
||||
@@ -977,33 +976,6 @@ Reverse the direction of sort.
|
||||
.SS roundbox (bool) (default false)
|
||||
.PP
|
||||
Draw rounded outer corners when the \f[C]drawbox\f[R] option is enabled.
|
||||
.SS ruler ([]string) (default \f[C]acc:progress:selection:filter:ind\f[R])
|
||||
.PP
|
||||
This option is deprecated in favor of using the \f[C]rulerfmt\f[R]
|
||||
option (see below).
|
||||
List of information shown in status line ruler.
|
||||
Currently supported information types are \f[C]acc\f[R],
|
||||
\f[C]progress\f[R], \f[C]selection\f[R], \f[C]filter\f[R],
|
||||
\f[C]ind\f[R], \f[C]df\f[R] and names starting with \f[C]lf_\f[R].
|
||||
\f[C]acc\f[R] shows the pressed keys (e.g.
|
||||
for bindings with multiple key presses or counts given to bindings).
|
||||
\f[C]progress\f[R] shows the progress of file operations (e.g.
|
||||
copying a large directory).
|
||||
\f[C]selection\f[R] shows the number of files that are selected, or
|
||||
designated for being cut/copied.
|
||||
\f[C]filter\f[R] shows \f[C]F\f[R] if a filter is currently being
|
||||
applied.
|
||||
\f[C]ind\f[R] shows the current position of the cursor as well as the
|
||||
number of files in the current directory.
|
||||
\f[C]df\f[R] shows the amount of free disk space remaining.
|
||||
Names starting with \f[C]lf_\f[R] show the value of environment
|
||||
variables exported by lf.
|
||||
This is useful for displaying the current settings (e.g.
|
||||
\f[C]lf_selmode\f[R] displays the current setting for the
|
||||
\f[C]selmode\f[R] option).
|
||||
User-defined options starting with \f[C]lf_user_\f[R] are also
|
||||
supported, so it is possible to display information set from external
|
||||
sources.
|
||||
.SS rulerfmt (string) (default \f[C] %a| %p| \[rs]033[7;31m %m \[rs]033[0m| \[rs]033[7;33m %c \[rs]033[0m| \[rs]033[7;35m %s \[rs]033[0m| \[rs]033[7;34m %f \[rs]033[0m| %i/%t\f[R])
|
||||
.PP
|
||||
Format string of the ruler shown in the bottom right corner.
|
||||
|
||||
Reference in new issue
Block a user