logo

dotfiles

My dotfiles, one branch per machine, rebased on base git clone https://hacktivis.me/git/dotfiles.git

.muttrc (2593B)


  1. set mbox_type=Maildir
  2. set edit_headers=yes
  3. set reverse_name
  4. alternates 'lanodan.eu$' 'hacktivis.me$' 'the-delta.net.eu.org$' 'urtu.be$' 'girldick.pw$'
  5. mailboxes `echo -n "$MAIL " '~/sent + '; find ~/Mail $MAIL -name '.*' -type d -printf '+"%f" '`
  6. ## caching
  7. set header_cache = ~/.cache/mutt/header
  8. # Assume that mutt is the only client
  9. set maildir_header_cache_verify = no
  10. ## Sidebar
  11. set sidebar_visible
  12. set sidebar_on_right
  13. set sidebar_format="%B %> (%N/%S)"
  14. set sidebar_short_path=yes
  15. set sidebar_folder_indent=yes
  16. macro index G '<enter-command>toggle sidebar_visible<enter><refresh>'
  17. macro pager G '<enter-command>toggle sidebar_visible<enter><redraw-screen>'
  18. bind index,pager \Ck sidebar-prev
  19. bind index,pager \Cj sidebar-next
  20. bind index,pager \Cl sidebar-open
  21. ## Visual
  22. alternative_order text/plain text/html
  23. auto_view 'text/html' 'application/tlsrpt+gzip'
  24. ignore *
  25. unignore 'Date' 'Subject' 'From' 'To' 'Cc' 'Reply-To' 'List-*' 'Message-ID' 'In-Reply-To' 'References'
  26. hdr_order 'Date' 'Subject' 'From' 'To' 'Cc' 'Reply-To' 'List-*' 'Message-ID' 'In-Reply-To' 'References'
  27. set pager_index_lines=10
  28. set markers=no
  29. set index_format = "%2C | %Z [%D] %-30.30F (%-4.4c) %s"
  30. set date_format = "%F %T%z"
  31. set attribution = '[%d] %n:\n'
  32. set sort = 'threads'
  33. set sort_aux = 'last-date-received'
  34. ## Keybindings
  35. bind pager j next-line
  36. bind pager k previous-line
  37. macro index,pager S s=.spam
  38. ## Theme
  39. color index cyan black ~O
  40. color index brightcyan black ~N
  41. color index brightyellow black ~F
  42. color index black green ~T
  43. color index brightred black ~D
  44. mono index bold ~O
  45. mono index bold ~N
  46. mono index bold ~F
  47. mono index bold ~T
  48. mono index bold ~D
  49. color header yellow black "^from:"
  50. color header yellow black "^to:"
  51. color header yellow black "^subject:"
  52. color header yellow black "^date:"
  53. mono header bold "^from:"
  54. mono header bold "^to:"
  55. mono header bold "^subject:"
  56. mono header bold "^date:"
  57. color quoted cyan black
  58. color quoted1 yellow black
  59. color quoted2 red black
  60. color quoted3 green black
  61. color quoted4 cyan black
  62. color quoted5 yellow black
  63. color quoted6 red black
  64. color quoted7 green black
  65. color error red black
  66. # Patch file highlighting
  67. # Based on https://www.redhat.com/archives/libvir-list/2012-July/msg01100.html
  68. color body green black "^diff \-.*"
  69. color body green black "^index [a-f0-9].*"
  70. color body green black "^[\-]{3} .*"
  71. color body green black "^[\+]{3} .*"
  72. color body cyan black "^[\+][^\+]+.*"
  73. color body red black "^\-[^\-]+.*"
  74. color body white black "^\ [^\ ]+.*"
  75. color body brightblue black "^@@ .*"
  76. mono bold bold
  77. mono underline underline
  78. mono indicator reverse