Add option to hide listBinds when pressing keys (#1815)

* add drawbinds option

* rename drawbinds to showbinds and change its place in docs

* minor changes in wording of showbinds option

* fix missing newlines

---------

Co-authored-by: yarik <dazzywi@github.com>
This commit is contained in:
yarikandyarik authored and GitHub committed 2024-10-22 23:45:48 +11:00
1 parent 440c258287
commit 6cd51210e3
6 files changed
+24 -4

No files matched your search

+5 -1
View File
@@ -196,6 +196,7 @@ selmode string (default \[aq]all\[aq])
shell string (default \[aq]sh\[aq] for Unix and \[aq]cmd\[aq] for Windows)
shellflag string (default \[aq]-c\[aq] for Unix and \[aq]/c\[aq] for Windows)
shellopts []string (default \[aq]\[aq])
showbinds bool (default true)
sixel bool (default false)
smartcase bool (default true)
smartdia bool (default false)
@@ -1027,6 +1028,9 @@ Command line flag used to pass shell commands.
.SS shellopts ([]string) (default \[ga]\[ga])
.PP
List of shell options to pass to the shell executable.
.SS showbinds (bool) (default true)
.PP
Show bindings associated with pressed keys.
.SS sixel (bool) (default false)
.PP
Render sixel images in preview.
@@ -2419,4 +2423,4 @@ A sample icons file can be found at
<https://github.com/gokcehan/lf/blob/master/etc/icons.example>
.PP
A sample colored icons file can be found at
<https://github.com/gokcehan/lf/blob/master/etc/icons_colored.example>
<https://github.com/gokcehan/lf/blob/master/etc/icons_colored.example>