Add a selection mode that limits the selection to the current directory. (#849)

This commit is contained in:
Christian Zangl authored and GitHub committed 2022-10-15 15:43:15 +03:00
1 parent 479ed924f7
commit 21a32a7603
8 files changed
+45 -8

No files matched your search

+7
View File
@@ -146,6 +146,7 @@ The following options can be used to customize the behavior of lf:
relativenumber bool (default off)
reverse bool (default off)
scrolloff int (default 0)
selmode string (default 'all')
shell string (default 'sh' for Unix and 'cmd' for Windows)
shellflag string (default '-c' for Unix and '/c' for Windows)
shellopts []string (default '')
@@ -742,6 +743,12 @@ When 'number' is enabled, current line shows the absolute position, otherwise no
Reverse the direction of sort.
selmode string (default 'all')
Selection mode for commands.
When set to 'all' it will use the selected files from all directories.
When set to 'dir' it will only use the selected files in the current directory.
scrolloff int (default 0)
Minimum number of offset lines shown at all times in the top and the bottom of the screen when scrolling.