Enable autoquit by default (#1839)

This commit is contained in:
Joe Lim authored and GitHub committed 2024-11-06 12:21:39 +11:00
1 parent 670343a23f
commit ce3dbea2ae
4 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -137,7 +137,7 @@ The following command line commands are provided by lf:
The following options can be used to customize the behavior of lf:
anchorfind bool (default true)
autoquit bool (default false)
autoquit bool (default true)
borderfmt string (default "\033[0m")
cleaner string (default '')
copyfmt string (default "\033[7;33m")
@@ -668,7 +668,7 @@ Character `:` is used as the separator for list options `[]int` and `[]string`.
When this option is enabled, the find command starts matching patterns from the beginning of file names, otherwise, it can match at an arbitrary position.
## autoquit (bool) (default false)
## autoquit (bool) (default true)
Automatically quit the server when there are no clients left connected.
+2 -2
View File
@@ -127,7 +127,7 @@ The following command line commands are provided by lf:
The following options can be used to customize the behavior of lf:
anchorfind bool (default true)
autoquit bool (default false)
autoquit bool (default true)
borderfmt string (default "\033[0m")
cleaner string (default '')
copyfmt string (default "\033[7;33m")
@@ -697,7 +697,7 @@ When this option is enabled, the find command starts matching patterns
from the beginning of file names, otherwise, it can match at an
arbitrary position.
autoquit (bool) (default false)
autoquit (bool) (default true)
Automatically quit the server when there are no clients left connected.
+2 -2
View File
@@ -145,7 +145,7 @@ The following options can be used to customize the behavior of lf:
.nf
\f[C]
anchorfind bool (default true)
autoquit bool (default false)
autoquit bool (default true)
borderfmt string (default \[dq]\[rs]033[0m\[dq])
cleaner string (default \[aq]\[aq])
copyfmt string (default \[dq]\[rs]033[7;33m\[dq])
@@ -719,7 +719,7 @@ Character \f[C]:\f[R] is used as the separator for list options
When this option is enabled, the find command starts matching patterns
from the beginning of file names, otherwise, it can match at an
arbitrary position.
.SS autoquit (bool) (default false)
.SS autoquit (bool) (default true)
.PP
Automatically quit the server when there are no clients left connected.
.SS borderfmt (string) (default \f[C]\[rs]033[0m\f[R])
+1 -1
View File
@@ -189,7 +189,7 @@ func getLocale(path string) string {
func init() {
gOpts.anchorfind = true
gOpts.autoquit = false
gOpts.autoquit = true
gOpts.dircache = true
gOpts.dircounts = false
gOpts.dirfirst = true