enable 'ignoredia' by default

Related #320
This commit is contained in:
Gokcehan 2020-11-06 16:03:02 +03:00
parent c2f2d54cee
commit f68406b93c
2 changed files with 3 additions and 3 deletions

4
doc.go
View File

@ -111,7 +111,7 @@ The following options can be used to customize the behavior of lf:
icons bool (default off) icons bool (default off)
ifs string (default '') ifs string (default '')
ignorecase bool (default on) ignorecase bool (default on)
ignoredia bool (default off) ignoredia bool (default on)
incsearch bool (default off) incsearch bool (default off)
info []string (default '') info []string (default '')
number bool (default off) number bool (default off)
@ -554,7 +554,7 @@ This option does not have any effect on windows.
Ignore case in sorting and search patterns. Ignore case in sorting and search patterns.
ignoredia bool (default off) ignoredia bool (default on)
Ignore diacritics in sorting and search patterns. Ignore diacritics in sorting and search patterns.

View File

@ -72,7 +72,7 @@ func init() {
gOpts.globsearch = false gOpts.globsearch = false
gOpts.icons = false gOpts.icons = false
gOpts.ignorecase = true gOpts.ignorecase = true
gOpts.ignoredia = false gOpts.ignoredia = true
gOpts.incsearch = false gOpts.incsearch = false
gOpts.number = false gOpts.number = false
gOpts.preview = true gOpts.preview = true