muttrc

   1 set ts_enabled
   2 set sleep_time=0
   3 
   4 set menu_scroll
   5 set pager_index_lines=10
   6 set sort=reverse-last-date
   7 set index_format='%3C  %S  %[%b %d]  %-20.20n  %?M?[1/%M] ?%s'
   8 
   9 set tilde nomarkers
  10 auto_view text/html
  11 alternative_order text/plain
  12 
  13 set from=lexa@lexa.by
  14 set realname='Alexey Gagin'
  15 set signature=~/.signature
  16 
  17 set fast_reply
  18 set include
  19 set noattribution
  20 
  21 set reverse_name
  22 alternates @lexa.by$
  23 
  24 set imap_idle  timeout=10
  25 set imap_check_subscribed
  26 
  27 set folder=imaps://imap.ya.ru
  28 set imap_user=mail@lexa.by
  29 set imap_pass=`pass yandex.ru/lexa | sed 1q`
  30 
  31 set spoolfile=+INBOX  record=+Sent
  32 set postponed=+Drafts trash=+Trash
  33 
  34 set smtp_url=smtps://$imap_user@smtp.ya.ru
  35 set smtp_pass=$imap_pass
  36 
  37 # Keys {{{
  38 
  39 bind  index Q quit
  40 macro index G '!mpop -a<Enter>'
  41 
  42 bind pager <Up>   previous-line
  43 bind pager <Down> next-line
  44 
  45 bind index <Left>  quit
  46 bind index <Right> display-message
  47 
  48 bind pager <Left>  exit
  49 bind pager <Right> view-attachments
  50 
  51 bind attach <Left>  exit
  52 bind attach <Right> view-mailcap
  53 
  54 bind browser <Left>  exit
  55 bind browser <Right> select-entry
  56 
  57 # }}}
  58 # Colors {{{
  59 
  60 color status    white   default
  61 color indicator default blue
  62 
  63 color tree  brightblack   default
  64 color index brightdefault default ~U
  65 color index red           default ~D
  66 
  67 color hdrdefault white       default
  68 color header     brightwhite default '^(From|To|Subject|Date): '
  69 color attachment cyan        default
  70 
  71 color normal default default
  72 color body   white   default '^gpg: .+'
  73 color body   cyan    default '\[[0-9]+\]'
  74 color body   blue    default '\w+://[^ ]+'
  75 
  76 color quoted yellow default
  77 color body   yellow default 'On .+ wrote:'
  78 color body   yellow default '.*<.+@.+>.*'
  79 
  80 color body brightwhite default '^References$'
  81 color body brightwhite default '^   Visible links$'
  82 
  83 color signature white default
  84 color tilde     white default
  85 
  86 # }}}
  87