Add scroll percentage to rulerfmt option (#1985)

This commit is contained in:
Joe Lim authored and GitHub committed 2025-05-12 14:28:26 +10:00
1 parent fea705ef7f
commit e7ea6c6d0d
5 files changed
+29 -13

No files matched your search

+8 -8
View File
@@ -989,14 +989,14 @@ file operations, %m as the number of files to be cut (moved), %c as the
number of files to be copied, %s as the number of selected files, %f as
the filter, %i as the position of the cursor, %t as the number of files
shown in the current directory, %h as the number of files hidden in the
current directory, and %d as the amount of free disk space remaining.
Additional expansions are provided for environment variables exported by
lf, in the form %{lf_<name>} (e.g. %{lf_selmode}). This is useful for
displaying the current settings. Expansions are also provided for
user-defined options, in the form %{lf_user_<name>} (e.g.
%{lf_user_foo}). The | character splits the format string into sections.
Any section containing a failed expansion (result is a blank string) is
discarded and not shown.
current directory, %P as the scroll percentage, and %d as the amount of
free disk space remaining. Additional expansions are provided for
environment variables exported by lf, in the form %{lf_<name>} (e.g.
%{lf_selmode}). This is useful for displaying the current settings.
Expansions are also provided for user-defined options, in the form
%{lf_user_<name>} (e.g. %{lf_user_foo}). The | character splits the
format string into sections. Any section containing a failed expansion
(result is a blank string) is discarded and not shown.
selectfmt (string) (default \033[7;35m)