From f68406b93c35fcb8abfdbb3768192b4d15a25d52 Mon Sep 17 00:00:00 2001 From: Gokcehan Date: Fri, 6 Nov 2020 16:03:02 +0300 Subject: [PATCH] enable 'ignoredia' by default Related #320 --- doc.go | 4 ++-- opts.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc.go b/doc.go index cebd302..dcfa7cf 100644 --- a/doc.go +++ b/doc.go @@ -111,7 +111,7 @@ The following options can be used to customize the behavior of lf: icons bool (default off) ifs string (default '') ignorecase bool (default on) - ignoredia bool (default off) + ignoredia bool (default on) incsearch bool (default off) info []string (default '') number bool (default off) @@ -554,7 +554,7 @@ This option does not have any effect on windows. Ignore case in sorting and search patterns. - ignoredia bool (default off) + ignoredia bool (default on) Ignore diacritics in sorting and search patterns. diff --git a/opts.go b/opts.go index 6e24f28..9070e5c 100644 --- a/opts.go +++ b/opts.go @@ -72,7 +72,7 @@ func init() { gOpts.globsearch = false gOpts.icons = false gOpts.ignorecase = true - gOpts.ignoredia = false + gOpts.ignoredia = true gOpts.incsearch = false gOpts.number = false gOpts.preview = true