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.

123 lines
3.7 KiB

  1. ## GLOBAL
  2. set sidebar_visible="yes"
  3. set hidden_host # When set, mutt will skip the host name part of ``$hostname'' variable when adding the domain part to addresses.
  4. set move=no
  5. set quit=ask-yes
  6. set timeout=15
  7. set imap_authenticators="login"
  8. set imap_passive="no"
  9. unset mark_old # Controls whether or not mutt marks new unread messages as old if you exit a mailbox without reading them.
  10. set tilde
  11. auto_view text/html
  12. alternative_order text/plain text/enriched text text/html # Show the "text/plain" part *before* the "text/html" part
  13. set realname="Mathieu Maret"
  14. #set signature="~/Desktop/Documents/signature_perso"
  15. set reply_regexp="^((re|aw|sv|ang):[ \t]*)+"
  16. # get rid of auto '--' when composing mail
  17. set sig_dashes=yes
  18. set abort_nosubject=yes
  19. set abort_unmodified=yes
  20. set postpone=ask-no
  21. set tmpdir="~/.mutt/tmp/"
  22. set sort=threads
  23. set sort_aux=mailbox-order
  24. #set editor="vim + -c 'set ft=mail tw=80' -c ':0/^$'"
  25. set editor='vim -c "set spell spelllang=en_us"'
  26. unset metoo
  27. #unset confirmappend
  28. #set help = no
  29. ## ACCOUNT
  30. # GMAIL
  31. set folder= imaps://imap.gmail.com:993
  32. set spoolfile= +INBOX #or +[Gmail]/Important
  33. set postponed= +[Gmail]/Drafts
  34. set imap_user = 'mathieu.maret@gmail.com'
  35. #set imap_pass = 'yourpass'
  36. #set record="imaps://imap.gmail.com/[Gmail]/Sent Mail"
  37. unset record
  38. set maildir_trash = yes
  39. set header_cache=~/.mutt/cache/headers
  40. set message_cachedir=~/.mutt/cache/bodies
  41. set certificate_file=~/.mutt/certificates
  42. set imap_check_subscribed="yes"
  43. set imap_list_subscribed="yes"
  44. mailboxes !
  45. set smtp_url = smtp://mathieu.maret@smtp.gmail.com:587/
  46. ## VIEW MAIL
  47. set smileys="(>From)|(:[-^]?[][)(><}{|/DP])"
  48. set pager_context=1 # number of lines that overlap on paging
  49. set pager_index_lines=8
  50. set pager_stop # "next_page" won't jump to next message at end of messages
  51. ## REPLY
  52. set edit_headers
  53. set attribution="%n wrote:" # attribution format : on day, name wrote (alias=%a if you want to add that)
  54. set indent_string="> "
  55. set from="Mathieu Maret <mathieu.maret@gmail.com>"
  56. ## INDEX
  57. set index_format="%4C %Z [%D] %-15.15n %s"
  58. # When viewing the index, mails are marked
  59. # Z -not sent to me, T - sent only to me, G - sent to me
  60. # and others(Group), C - cc'ed to me, F - from me
  61. set to_chars=" +-.F"
  62. set date_format="%d/%b - %H:%M"
  63. ## HEADERS
  64. ignore *
  65. unignore From: To Cc Reply-To Mail-Followup-To Subject User-Agent X-Mailer Date X-Spam-Level:
  66. hdr_order Date From: To Cc Reply-To Mail-Followup-To User-Agent X-Mailer X-Spam-Level: Subject
  67. ## BINDINGS
  68. bind pager <up> previous-line
  69. bind pager <down> next-line
  70. bind index F flag-message
  71. bind pager F flag-message
  72. macro attach W <save-entry><kill-line>/home/mathieu/Download/
  73. ## SIDEBAR
  74. # set up the sidebar, default not visible
  75. #set sidebar_width=24
  76. #set sidebar_visible=yes
  77. #set sidebar_delim='|'
  78. # color of folders with new mail
  79. #color sidebar_new yellow default
  80. # ctrl-n, ctrl-p to select next, prev folder
  81. # ctrl-o to open selected folder
  82. #bind index \CP sidebar-prev
  83. #bind index \CN sidebar-next
  84. #bind index \CO sidebar-open
  85. #bind pager \CP sidebar-prev
  86. #bind pager \CN sidebar-next
  87. #bind pager \CO sidebar-open
  88. # b toggles sidebar visibility
  89. #macro index b '<enter-command>toggle sidebar_visible<enter><refresh>'
  90. #macro pager b '<enter-command>toggle sidebar_visible<enter><redraw-screen>'
  91. #bind index B bounce-message
  92. ## COLORS
  93. source ~/.mutt/colorSimple2
  94. #source ~/.mutt/colors/themes.256
  95. #source ~/.mutt/colors/calmar.light
  96. # Alias -> select an email an type 'a'
  97. set alias_file = "~/.mutt/aliases"
  98. set sort_alias = alias
  99. set reverse_alias = yes
  100. source $alias_file
  101. ## Abook instead of alias ?
  102. #set query_command= "abook --mutt-query '%s'"
  103. #macro index,pager a "<pipe-message>abook --add-email-quiet<return>" "Add this sender to Abook"
  104. #bind editor <Tab> complete-query
  105. #
  106. #