feat: add numbercursorfmt option (#2395)
* feat: add `numbercursorfmt` option * docs: add documentation * docs: update `CHANGELOG.md`
This commit is contained in:
1 parent
b2f23e6078
commit
59494d1ff8
7 files changed
+27
-8
No files matched your search
@@ -1,6 +1,6 @@
|
||||
.\" Automatically generated by Pandoc 3.7.0.2
|
||||
.\"
|
||||
.TH "LF" "1" "2026\-02\-08" "r42" "DOCUMENTATION"
|
||||
.TH "LF" "1" "2026\-02\-16" "r42" "DOCUMENTATION"
|
||||
.SH NAME
|
||||
lf \- terminal file manager
|
||||
.SH SYNOPSIS
|
||||
@@ -314,6 +314,7 @@ menuselectfmt string (default \(dq\(rs033[7m\(dq)
|
||||
mergeindicators bool (default false)
|
||||
mouse bool (default false)
|
||||
number bool (default false)
|
||||
numbercursorfmt string (default \(aq\(aq)
|
||||
numberfmt string (default \(dq\(rs033[33m\(dq)
|
||||
period int (default 0)
|
||||
preload bool (default false)
|
||||
@@ -979,8 +980,11 @@ pane.
|
||||
When the \f[CR]relativenumber\f[R] option is enabled, only the current
|
||||
line shows the absolute position and relative positions are shown for
|
||||
the rest.
|
||||
.SS numberfmt (string) (default \f[CR]\(rs033[33m\f[R])
|
||||
Format string of the position number for each line.
|
||||
.SS numberfmt (string) (default \f[CR]\(rs033[33m\f[R]), numbercursorfmt (string) (default \(ga\(ga)
|
||||
Format strings for highlighting line numbers.
|
||||
\f[CR]numberfmt\f[R] applies to all lines.
|
||||
\f[CR]numbercursorfmt\f[R] applies to the cursor line and falls back to
|
||||
\f[CR]numberfmt\f[R] when left empty.
|
||||
.SS period (int) (default 0)
|
||||
Set the interval in seconds for periodic checks of directory updates.
|
||||
This works by periodically calling the \f[CR]load\f[R] command.
|
||||
|
||||
Reference in new issue
Block a user