dotfiles

custom dotfiles
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

muttrc (2856B)


      1 # ░█▄█░█░█░▀█▀░▀█▀░░
      2 # ░█░█░█░█░░█░░░█░░░
      3 # ░▀░▀░▀▀▀░░▀░░░▀░░░
      4 
      5 # set password
      6 set my_pass = "`pass email/pyratebeard/passwd`"
      7 set my_smtp_url = "`pass email/pyratebeard/smtp_url`"
      8 
      9 # imap
     10 unset imap_passive
     11 set imap_keepalive = 300
     12 
     13 # smtp
     14 set smtp_url = $my_smtp_url
     15 set smtp_authenticators=”login”
     16 set smtp_pass = $my_pass
     17 
     18 # user details
     19 set from = "root@pyratebeard.net"
     20 set realname = "pyratebeard"
     21 
     22 # mailbox
     23 set header_cache = "~/.mutt/cache/headers"
     24 set message_cachedir = "~/.mutt/cache/"
     25 set certificate_file = "~/.mutt/certificates"
     26 set mbox_type = Maildir
     27 set folder = "~/var/mbox/pyratebeard"
     28 set spoolfile = +INBOX
     29 set record  = "+INBOX.Sent"
     30 set postponed = "+INBOX.Drafts"
     31 mailboxes = =INBOX
     32 set mail_check = 120
     33 set collapse_unread = no
     34 set sort = threads
     35 set sort_aux = reverse-date-received
     36 
     37 # colours
     38 color normal default default
     39 color indicator white magenta
     40 color tree default default
     41 color status white black
     42 color index white color8 "~T"
     43 color index color10 default "~U"
     44 color index color15 default "~O"
     45 color index red black "~D"
     46 color index color14 default "~F"
     47 color index color3 default "~g"
     48 color index color0 color3 "~G"
     49 
     50 # pgp
     51 source "~/.mutt/gpg.rc"
     52 set pgp_autosign = yes
     53 set pgp_use_gpg_agent = yes
     54 
     55 # compose
     56 set editor = vim
     57 set askcc = yes
     58 set askbcc = yes
     59 set autoedit = yes
     60 set edit_headers = yes
     61 set text_flowed
     62 
     63 # display
     64 set index_format = "%4C %Z %-30.30L %M %s"
     65 folder-hook . "push <collapse-all>\n"
     66 bind index - collapse-thread
     67 set sort=reverse-threads
     68 set sort_aux=date-received
     69 unset markers
     70 
     71 # handling for multi-part and html messages
     72 set mailcap_path = ~/.mailcap"
     73 auto_view text/html
     74 alternative_order text/html text/plain
     75 set display_filter = "~/bin/mailfmtshort"
     76 
     77 # sidebar
     78 set sidebar_visible = no
     79 set sidebar_folder_indent = yes
     80 set sidebar_indent_string = ".."
     81 set sidebar_short_path = yes
     82 bind index,pager B sidebar-toggle-visible
     83 
     84 # move the highlight to the previous mailbox
     85 bind index,pager \Cp sidebar-prev
     86 
     87 # move the highlight to the next mailbox
     88 bind index,pager \Cn sidebar-next
     89 
     90 # open the highlighted mailbox
     91 bind index,pager \Co sidebar-open
     92 
     93 # move the highlight to the previous page
     94 # this is useful if you have a LOT of mailboxes.
     95 bind index,pager <F3> sidebar-page-up
     96 
     97 # move the highlight to the next page
     98 # this is useful if you have a LOT of mailboxes.
     99 bind index,pager <F4> sidebar-page-down
    100 
    101 # move the highlight to the previous mailbox containing new, or flagged,
    102 # mail.
    103 bind index,pager <F5> sidebar-prev-new
    104 
    105 # move the highlight to the next mailbox containing new, or flagged, mail.
    106 bind index,pager <F6> sidebar-next-new
    107 
    108 # toggle the visibility of the sidebar.
    109 bind index,pager B sidebar-toggle-visible
    110 
    111 # macros
    112 macro attach W "<save-entry><bol>~/tmp/<eol>"