feat: add mergeindicators option (#2330)
* feat: add `mergeindicators` option * docs: update `CHANGELOG.md` * docs: add documentation * style: fix typo Co-authored-by: Joe Lim <50560759+joelim-work@users.noreply.github.com> --------- Co-authored-by: Joe Lim <50560759+joelim-work@users.noreply.github.com>
This commit is contained in:
1 parent
c1b979371a
commit
165c25b743
7 files changed
+67
-22
No files matched your search
@@ -287,6 +287,7 @@ The following options can be used to customize the behavior of lf:
|
||||
menufmt string (default "\033[0m")
|
||||
menuheaderfmt string (default "\033[1m")
|
||||
menuselectfmt string (default "\033[7m")
|
||||
mergeindicators bool (default false)
|
||||
mouse bool (default false)
|
||||
number bool (default false)
|
||||
numberfmt string (default "\033[33m")
|
||||
@@ -1018,6 +1019,11 @@ Format string of the header row in the menu.
|
||||
|
||||
Format string of the currently selected item in the menu.
|
||||
|
||||
## mergeindicators (bool) (default false)
|
||||
|
||||
When `mergeindicators` is enabled, tag and selection indicators are drawn in a single column to reduce the gap before filenames.
|
||||
If a file is both tagged and selected, the tag uses the selection format (e.g. `copyfmt`) instead of `tagfmt`.
|
||||
|
||||
## mouse (bool) (default false)
|
||||
|
||||
Send mouse events as input.
|
||||
|
||||
Reference in new issue
Block a user