aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/aerc.conf.in4
-rw-r--r--config/config.go2
2 files changed, 6 insertions, 0 deletions
diff --git a/config/aerc.conf.in b/config/aerc.conf.in
index 87f7e563..98cd679c 100644
--- a/config/aerc.conf.in
+++ b/config/aerc.conf.in
@@ -112,6 +112,10 @@ stylesets-dirs=@SHAREDIR@/stylesets/
# Default: default
styleset-name=default
+# Activates fuzzy search for IMAP folders: the typed string is search in the
+# folder tree in any position, not necessarily at the beginning.
+#fuzzy-folder-complete=false
+
#[ui:account=foo]
#
# Enable threading in the ui. Only works with notmuch:// and imap:// accounts
diff --git a/config/config.go b/config/config.go
index 8d818c26..185a14c0 100644
--- a/config/config.go
+++ b/config/config.go
@@ -43,6 +43,7 @@ type UIConfig struct {
EmptyDirlist string `ini:"empty-dirlist"`
MouseEnabled bool `ini:"mouse-enabled"`
ThreadingEnabled bool `ini:"threading-enabled"`
+ FuzzyFolderComplete bool `ini:"fuzzy-folder-complete"`
NewMessageBell bool `ini:"new-message-bell"`
Spinner string `ini:"spinner"`
SpinnerDelimiter string `ini:"spinner-delimiter"`
@@ -563,6 +564,7 @@ func LoadConfigFromFile(root *string, sharedir string, logger *log.Logger) (*Aer
EmptyDirlist: "(no folders)",
MouseEnabled: false,
NewMessageBell: true,
+ FuzzyFolderComplete: false,
Spinner: "[..] , [..] , [..] , [..] , [..], [..] , [..] , [..] ",
SpinnerDelimiter: ",",
DirListFormat: "%n %>r",