+# "limit" or "search" (default)
+MUTTJUMP_MODE=${MUTTJUMP_MODE:-search}
+
+# "yes", "no" or "auto"
+# If set to "auto", the $STY environment variable is used for auto detection.
+MUTTJUMP_USE_SCREEN="auto"
+
+# "yes" or "no"
+# If this is set to "yes", muttjump will not open a new instance of
+# mutt, but instead jump to the original message in a running mutt
+# (which is running in a screen session).
+# ATTENTION: You need to have one mutt instance open for every mailbox
+# for this to work!
+MUTTJUMP_MULTI_SCREEN_MODE=${MUTTJUMP_MULTI_SCREEN_MODE:-no}
+
+# name of the screen session (screen -S ...), leave blank for none
+MUTTJUMP_SCREEN_SESSION=${MUTTJUMP_SCREEN_SESSION:-}
+
+# function to create the screen window name from the full path of the mailbox
+if ! type -p MUTTJUMP_SCREEN_WINDOW_NAME_MANGLE >/dev/null ; then
+ function MUTTJUMP_SCREEN_WINDOW_NAME_MANGLE () {
+ basename "$1"
+ }
+fi
+