muttrc

   1 set nomark_old
   2 set sleep_time = 0
   3 set xterm_set_titles
   4 
   5 set nomarkers tilde
   6 auto_view text/html
   7 alternative_order text/plain
   8 
   9 set realname = 'Alexey Gagin'
  10 set fast_reply include noattribution
  11 
  12 # Keys {{{
  13 
  14 bind index Q quit
  15 
  16 bind index z collapse-thread
  17 bind index Z collapse-all
  18 
  19 bind pager <Up> previous-line
  20 bind pager <Down> next-line
  21 
  22 bind index <Left> quit
  23 bind index <Right> display-message
  24 
  25 bind pager <Left> exit
  26 bind pager <Right> view-attachments
  27 
  28 bind attach <Left> exit
  29 bind attach <Right> view-mailcap
  30 
  31 macro pager z ':set pager_index_lines = 10<Enter>'
  32 macro pager Z ':set pager_index_lines = 0<Enter>'
  33 
  34 # }}}
  35 # Threads {{{
  36 
  37 set sort = threads
  38 set sort_aux = reverse-last-date
  39 
  40 set menu_scroll
  41 set nocollapse_unread
  42 folder-hook . exec collapse-all
  43 
  44 set date_format = '%b %d'
  45 set index_format = '%3C  %S  %d  %-20.20n  %?M?[1/%M] ?%s (%c)'
  46 set folder_format = '%3C  %F  %u %g  %4s  %d  %f'
  47 
  48 # }}}
  49 # Mailboxes {{{
  50 
  51 set record = $spoolfile
  52 set postponed = +Drafts.mbox
  53 set trash = +Trash.mbox
  54 
  55 mailboxes $spoolfile
  56 mailboxes $postponed
  57 mailboxes $trash
  58 
  59 set timeout = 10
  60 macro index G '!mpop -a<Enter>'
  61 
  62 # }}}
  63 # Colors {{{
  64 
  65 color status white default
  66 color indicator default blue
  67 
  68 color tree brightblack default
  69 color index brightdefault default ~U
  70 color index red default ~D
  71 
  72 color hdrdefault white default
  73 color header brightwhite default '^(From|To|Subject|Date): '
  74 color attachment cyan default
  75 
  76 color normal default default
  77 color body white default '^gpg: .+'
  78 color body white default '\[[0-9]+\]'
  79 color body white default '^   [0-9]+\. .+'
  80 color body blue default 'https?://[a-z0-9._/?=&%#~-]+'
  81 
  82 color quoted yellow default
  83 color body yellow default 'On .+ wrote:'
  84 color body yellow default '.*<.+@.+>.*'
  85 
  86 color signature white default
  87 color tilde white default
  88 
  89 # }}}