diff options
author | Kevin McCarthy <kevin@8t8.us> | 2020-11-26 15:21:05 -0800 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2020-12-06 15:33:44 -0800 |
commit | 42331065e432c03903eac2fc8cc2aa94f7da501e (patch) | |
tree | 0b3dc3fc5d3f8e3113162aea3b38392de0a10fc3 /functions.h | |
parent | c23921bcbf7269d1ed483af16896477eecaade50 (diff) |
Add <skip-headers> to skip past message headers in pager.
This is based on <skip-quoted>, and is bound to 'H' by default.
I've added an error message in case there is no text past the headers,
just to cover the logical case. I don't think Mutt allows that to
happen for text passed to the pager, but just in case.
Diffstat (limited to 'functions.h')
-rw-r--r-- | functions.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/functions.h b/functions.h index a54ceffc..59e1d9c2 100644 --- a/functions.h +++ b/functions.h @@ -257,6 +257,7 @@ const struct binding_t OpPager[] = { /* map: pager */ { "read-subthread", OP_MAIN_READ_SUBTHREAD, "\033r" }, { "resend-message", OP_RESEND, "\033e" }, { "save-message", OP_SAVE, "s" }, + { "skip-headers", OP_PAGER_SKIP_HEADERS, "H" }, { "skip-quoted", OP_PAGER_SKIP_QUOTED, "S" }, { "decode-save", OP_DECODE_SAVE, "\033s" }, { "tag-message", OP_TAG, "t" }, |