Enable autoquit by default (#1839)
This commit is contained in:
1 parent
670343a23f
commit
ce3dbea2ae
4 files changed
+7
-7
No files matched your search
@@ -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:
|
The following options can be used to customize the behavior of lf:
|
||||||
|
|
||||||
anchorfind bool (default true)
|
anchorfind bool (default true)
|
||||||
autoquit bool (default false)
|
autoquit bool (default true)
|
||||||
borderfmt string (default "\033[0m")
|
borderfmt string (default "\033[0m")
|
||||||
cleaner string (default '')
|
cleaner string (default '')
|
||||||
copyfmt string (default "\033[7;33m")
|
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.
|
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.
|
Automatically quit the server when there are no clients left connected.
|
||||||
|
|
||||||
|
|||||||
@@ -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:
|
The following options can be used to customize the behavior of lf:
|
||||||
|
|
||||||
anchorfind bool (default true)
|
anchorfind bool (default true)
|
||||||
autoquit bool (default false)
|
autoquit bool (default true)
|
||||||
borderfmt string (default "\033[0m")
|
borderfmt string (default "\033[0m")
|
||||||
cleaner string (default '')
|
cleaner string (default '')
|
||||||
copyfmt string (default "\033[7;33m")
|
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
|
from the beginning of file names, otherwise, it can match at an
|
||||||
arbitrary position.
|
arbitrary position.
|
||||||
|
|
||||||
autoquit (bool) (default false)
|
autoquit (bool) (default true)
|
||||||
|
|
||||||
Automatically quit the server when there are no clients left connected.
|
Automatically quit the server when there are no clients left connected.
|
||||||
|
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ The following options can be used to customize the behavior of lf:
|
|||||||
.nf
|
.nf
|
||||||
\f[C]
|
\f[C]
|
||||||
anchorfind bool (default true)
|
anchorfind bool (default true)
|
||||||
autoquit bool (default false)
|
autoquit bool (default true)
|
||||||
borderfmt string (default \[dq]\[rs]033[0m\[dq])
|
borderfmt string (default \[dq]\[rs]033[0m\[dq])
|
||||||
cleaner string (default \[aq]\[aq])
|
cleaner string (default \[aq]\[aq])
|
||||||
copyfmt string (default \[dq]\[rs]033[7;33m\[dq])
|
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
|
When this option is enabled, the find command starts matching patterns
|
||||||
from the beginning of file names, otherwise, it can match at an
|
from the beginning of file names, otherwise, it can match at an
|
||||||
arbitrary position.
|
arbitrary position.
|
||||||
.SS autoquit (bool) (default false)
|
.SS autoquit (bool) (default true)
|
||||||
.PP
|
.PP
|
||||||
Automatically quit the server when there are no clients left connected.
|
Automatically quit the server when there are no clients left connected.
|
||||||
.SS borderfmt (string) (default \f[C]\[rs]033[0m\f[R])
|
.SS borderfmt (string) (default \f[C]\[rs]033[0m\f[R])
|
||||||
|
|||||||
@@ -189,7 +189,7 @@ func getLocale(path string) string {
|
|||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
gOpts.anchorfind = true
|
gOpts.anchorfind = true
|
||||||
gOpts.autoquit = false
|
gOpts.autoquit = true
|
||||||
gOpts.dircache = true
|
gOpts.dircache = true
|
||||||
gOpts.dircounts = false
|
gOpts.dircounts = false
|
||||||
gOpts.dirfirst = true
|
gOpts.dirfirst = true
|
||||||
|
|||||||
Reference in new issue
Block a user