You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Muttrc.patch 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. From: Cristoph Berg <myon@debian.org>
  2. Date: Thu, 27 Feb 2014 15:52:59 +0100
  3. Subject: Muttrc
  4. * 2009-01-15 myon: refreshed for mutt-1.5.19; drop our list of ignored headers
  5. in favor of upstream's new unignore list
  6. Signed-off-by: Matteo F. Vescovi <mfvescovi@gmail.com>
  7. Gbp-Pq: Topic debian-specific
  8. ---
  9. doc/Muttrc.head | 36 ++++++++++++++++++++++++++++++++++--
  10. 1 file changed, 34 insertions(+), 2 deletions(-)
  11. diff --git a/doc/Muttrc.head b/doc/Muttrc.head
  12. index 1f7012e..477c4b6 100644
  13. --- a/doc/Muttrc.head
  14. +++ b/doc/Muttrc.head
  15. @@ -12,6 +12,34 @@ unignore from: subject to cc date x-mailer x-url user-agent
  16. # Display the fields in this order
  17. hdr_order date from to cc subject
  18. +# emacs-like bindings
  19. +bind editor "\e<delete>" kill-word
  20. +bind editor "\e<backspace>" kill-word
  21. +
  22. +# map delete-char to a sane value
  23. +bind editor <delete> delete-char
  24. +
  25. +# some people actually like these settings
  26. +#set pager_stop
  27. +#bind pager <up> previous-line
  28. +#bind pager <down> next-line
  29. +
  30. +# Specifies how to sort messages in the index menu.
  31. +set sort=threads
  32. +
  33. +# The behavior of this option on the Debian mutt package is
  34. +# not the original one because exim4, the default SMTP on Debian
  35. +# does not strip bcc headers so this can cause privacy problems;
  36. +# see man muttrc for more info
  37. +#unset write_bcc
  38. +# Postfix and qmail use Delivered-To for detecting loops
  39. +unset bounce_delivered
  40. +
  41. +set mixmaster="mixmaster-filter"
  42. +
  43. +# System-wide CA file managed by the ca-certificates package
  44. +set ssl_ca_certificates_file="/etc/ssl/certs/ca-certificates.crt"
  45. +
  46. # imitate the old search-body function
  47. macro index \eb "<search>~b " "search in message bodies"
  48. @@ -23,14 +51,14 @@ macro index,pager,attach,compose \cb "\
  49. "call urlview to extract URLs out of a message"
  50. # Show documentation when pressing F1
  51. -macro generic,pager <F1> "<shell-escape> less @docdir@/manual.txt<Enter>" "show Mutt documentation"
  52. +macro generic,pager <F1> "<shell-escape> zcat @docdir@/mutt/manual.txt.gz | sensible-pager<enter>" "show Mutt documentation"
  53. # show the incoming mailboxes list (just like "mutt -y") and back when pressing "y"
  54. macro index,pager y "<change-folder>?<toggle-mailboxes>" "show incoming mailboxes list"
  55. bind browser y exit
  56. # If Mutt is unable to determine your site's domain name correctly, you can
  57. -# set the default here.
  58. +# set the default here. (better: fix /etc/mailname)
  59. #
  60. # set hostname=cs.hmc.edu
  61. @@ -42,6 +70,10 @@ bind browser y exit
  62. # be undone with unmime_lookup.
  63. mime_lookup application/octet-stream
  64. +# Upgrade the progress counter every 250ms, good for mutt over SSH
  65. +# see http://bugs.debian.org/537746
  66. +set time_inc=250
  67. +
  68. ##
  69. ## *** DEFAULT SETTINGS FOR THE ATTACHMENTS PATCH ***
  70. ##