diff --git a/doc.md b/doc.md index ab0404a7..2122be83 100644 --- a/doc.md +++ b/doc.md @@ -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. diff --git a/doc.txt b/doc.txt index ede9b503..74f4eca2 100644 --- a/doc.txt +++ b/doc.txt @@ -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. diff --git a/lf.1 b/lf.1 index 2280e198..a413706d 100644 --- a/lf.1 +++ b/lf.1 @@ -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]) diff --git a/opts.go b/opts.go index a0ec15ec..9d1211d2 100644 --- a/opts.go +++ b/opts.go @@ -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