dirtyfiles: files that don't require cleaning before previewing them (#729)
* dirtyfiles * wrong default on man page * respect alphabetic order for options * clean on shell commands * formating if
This commit is contained in:
1 parent
d879e8f8f8
commit
673dad9f07
9 files changed
+73
-4
No files matched your search
@@ -109,6 +109,7 @@ The following options can be used to customize the behavior of lf:
|
||||
dircounts bool (default off)
|
||||
dirfirst bool (default on)
|
||||
dironly bool (default off)
|
||||
dirtyfiles []string (default '!*')
|
||||
drawbox bool (default off)
|
||||
errorfmt string (default "\033[7;31;47m%s\033[0m")
|
||||
filesep string (default "\n")
|
||||
@@ -565,6 +566,15 @@ Show directories first above regular files.
|
||||
|
||||
Show only directories.
|
||||
|
||||
dirtyfiles []string (default '!*')
|
||||
|
||||
List of dirty file glob patterns. These files won't have 'cleaner' called
|
||||
before previewing them. Patterns can be given as relative or
|
||||
absolute paths. Globbing supports the usual special characters, '*' to match
|
||||
any sequence, '?' to match any character, and '[...]' or '[^...] to match
|
||||
character sets or ranges. In addition, if a pattern starts with '!', then
|
||||
its matches are excluded from dirty files.
|
||||
|
||||
drawbox bool (default off)
|
||||
|
||||
Draw boxes around panes with box drawing characters.
|
||||
|
||||
Reference in new issue
Block a user