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

+6 -1
View File
@@ -188,6 +188,7 @@ The following options can be used to customize the behavior of lf:
shell string (default 'sh' for Unix and 'cmd' for Windows)
shellflag string (default '-c' for Unix and '/c' for Windows)
shellopts []string (default '')
showbinds bool (default true)
sixel bool (default false)
smartcase bool (default true)
smartdia bool (default false)
@@ -928,6 +929,10 @@ Command line flag used to pass shell commands.
List of shell options to pass to the shell executable.
## showbinds (bool) (default true)
Show bindings associated with pressed keys.
## sixel (bool) (default false)
Render sixel images in preview.
@@ -1834,4 +1839,4 @@ A sample icons file can be found at
https://github.com/gokcehan/lf/blob/master/etc/icons.example
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