aboutsummaryrefslogtreecommitdiff
path: root/.mutt
diff options
context:
space:
mode:
authorRaul Benencia <id@rbenencia.name>2022-08-04 07:26:08 -0700
committerRaul Benencia <id@rbenencia.name>2022-08-04 07:26:08 -0700
commite69aab905ae41bcd623e895be1d98d634c06a561 (patch)
tree11a3d14817e9662545e9cc9164f21faa0de6fbad /.mutt
parent12f901918176be62fbe8565f0d5690ee315a5c08 (diff)
mutt: t-prot max lines
Diffstat (limited to '.mutt')
-rw-r--r--.mutt/muttrc2
-rw-r--r--.mutt/muttrc.macros4
2 files changed, 3 insertions, 3 deletions
diff --git a/.mutt/muttrc b/.mutt/muttrc
index cc69691..ed13c85 100644
--- a/.mutt/muttrc
+++ b/.mutt/muttrc
@@ -51,7 +51,7 @@ set smime_keys="~/.smime/keys"
set smime_self_encrypt="yes"
# Sanitize messages with t-prot
-set display_filter='t-prot -cmekatlS --max-lines=250 --bigq --pgp-short --pgp-move --pgp-move-vrf -Mmutt -L/etc/t-prot/footers -A/etc/t-prot/ads'
+set display_filter='t-prot -cmekatlS --max-lines=2000 --bigq --pgp-short --pgp-move --pgp-move-vrf -Mmutt -L/etc/t-prot/footers -A/etc/t-prot/ads'
# Date format
set date_format="!%a, %b %d, %Y at %I:%M:%S%p %Z"
diff --git a/.mutt/muttrc.macros b/.mutt/muttrc.macros
index fe3b1a0..24b2960 100644
--- a/.mutt/muttrc.macros
+++ b/.mutt/muttrc.macros
@@ -40,11 +40,11 @@ macro index <esc>m "T~N<enter>;WN^T~T<enter>T~O<enter>;WN^T~T<enter>" "mark all
# toggle TOFU protection with ESC-0 (off) and ESC-1 (on)
macro generic \e0 ":unset display_filter\n" "Turn TOFU protection off"
-macro generic \e1 ":set display_filter='t-prot -cmekatlS --max-lines=250 --bigq --pgp-short --pgp-move --pgp-move-vrf -Mmutt -L/etc/t-prot/footers -A/etc/t-prot/ads'\n" "Turn TOFU protection on"
+macro generic \e1 ":set display_filter='t-prot -cmekatlS --max-lines=2000 --bigq --pgp-short --pgp-move --pgp-move-vrf -Mmutt -L/etc/t-prot/footers -A/etc/t-prot/ads'\n" "Turn TOFU protection on"
# same in pager mode - ugly but what the hell...
macro pager \e0 ":unset display_filter; exec exit\n:exec display-message\n" "Turn TOFU protection off"
-macro pager \e1 ":set display_filter='t-prot -cmekatlS --max-lines=250 --bigq --pgp-short --pgp-move --pgp-move-vrf -Mmutt -L/etc/t-prot/footers -A/etc/t-prot/ads'; exec exit\n:exec display-message\n" "Turn TOFU protection on"
+macro pager \e1 ":set display_filter='t-prot -cmekatlS --max-lines=2000 --bigq --pgp-short --pgp-move --pgp-move-vrf -Mmutt -L/etc/t-prot/footers -A/etc/t-prot/ads'; exec exit\n:exec display-message\n" "Turn TOFU protection on"
macro attach 'V' "<pipe-entry>cat > ~/tmp/mail.html && xdg-open ~/tmp/mail.html && rm -f ~/tmp/mail.html<enter>"
nihil fit ex nihilo