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 # Binds {{{
  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 '!fetchmail.sh<Enter>'
  61 
  62 `echo set $(gpg -qd ~/.fetchmailrc.gpg | awk ' \
  63     /user/ { print "from=" $2 } \
  64     /pass/ { print "smtp_pass=" $2 } \
  65     /poll/ { print "smtp_url=\"smtps://$from@" $2 "\"" } \
  66 ' | sed 3q | sort)`
  67 
  68 # }}}
  69 # Colors {{{
  70 
  71 color status color7 default
  72 color indicator default color4
  73 color tree brightblack default
  74 
  75 color index color7 default '~f lexa@'
  76 color index color7 default '~f @lexa.by'
  77 color index color7 default '~f lexazloy@'
  78 
  79 color index brightdefault default ~U
  80 color index color1 default ~D
  81 
  82 color normal default default
  83 color quoted color3 default
  84 
  85 color hdrdefault color7 default
  86 color header color5 default '^(From|To|Subject|Date): '
  87 color attachment color4 default
  88 
  89 color body color3 default 'On .+ wrote:'
  90 color body color3 default '.*<.+@.+>.*'
  91 color body color7 default '^gpg: .+'
  92 
  93 color signature color7 default
  94 color tilde color7 default
  95 
  96 # }}}