#!/bin/sh -e
+cmds="$(dirname "$(realpath "$0")")"
cat <<EOF
set mail_check_stats
set mail_check_stats_interval=5
set date_format="%Y-%m-%d %H:%M"
folder-hook . "set index_format = \"%4C %Z [%D] %s (%?l?%4l&%c?)\""
+bind pager o noop
+macro pager o "|$cmds/x-urlview.sh\n"
+
macro index <F8> "<shell-escape>mu find --muhome mu --clearlinks --format=links --linksdir=search " "mu find"
macro index <F9> "<change-folder-readonly>search<enter>" "mu find results"
folder-hook search "set index_format = \"%4C [%D] %s (%F)\""
(@strong{N}) and old-but-unread (@strong{O}) messages as read. You will
see left tag-marks near each message to understand what was touched.
+@item Press @code{o} to open links and enclosures URLs
+
+Do it in pager mode and you message will be piped to
+@file{cmd/x-urlview.sh}, that will show all @code{X-URL}
+and @code{X-Enclosure} links.
+
@item Index your messages
@example