dotfiles

My opinionated dotfiles
git clone git://git.erethon.com/dotfiles
Log | Files | Refs

.muttrc (2595B)


      1 # Username/from
      2 set realname    = "Dionysis Grigoropoulos"
      3 set from        = "dgrig@erethon.com"
      4 set use_from    = yes
      5 set envelope_from = yes
      6 set sendmail = "msmtp"
      7 
      8 # Automatically use alternate email address
      9 set reverse_name = yes
     10 alternates "dgrig@transifex.com"
     11 
     12 # Using offlineimap for this
     13 set folder = ~/mail/
     14 set postponed = $folder/postponed
     15 set mbox_type = Maildir
     16 source ~/.mutt/mailboxes
     17 
     18 set record = +sent
     19 
     20 set ssl_starttls = yes
     21 set ssl_force_tls = yes
     22 
     23 # Refresh internal/editor/mail settings
     24 set mail_check  = 240
     25 set editor = vim
     26 set edit_headers = yes
     27 # Instantly change mailboxes (informational messages will be lost this way)
     28 set sleep_time = 0
     29 set sort = threads
     30 
     31 # Hide most headers
     32 ignore *
     33 unignore from date subject to cc
     34 
     35 # Set index format, for info see `man muttrc'
     36 set index_format="%4C %Z %X %[%b %d %H:%M] %-22.22L - %s"
     37 
     38 # Ask for cc list before opening editor
     39 set askcc = yes
     40 
     41 # Alias stuff
     42 set alias_file = "~/.mutt/aliases"
     43 set sort_alias = address
     44 set reverse_alias = yes
     45 source $alias_file
     46 
     47 # PGP/GPG stuff
     48 set pgp_replyencrypt
     49 set pgp_show_unusable = no
     50 set pgp_use_gpg_agent = yes
     51 
     52 # Sidebar settings
     53 set sidebar_visible = yes
     54 set sidebar_short_path = yes
     55 set mail_check_stats # required for "%S" to work on sidebar_format
     56 
     57 set sidebar_format = "%B%*  %S%?N?(%N)?%*"
     58 set sidebar_folder_indent = yes
     59 set sidebar_indent_string = " "
     60 set sidebar_divider_char = "|"
     61 
     62 # Keybinds
     63 bind index G    last-entry
     64 bind index j    next-entry
     65 bind index k    previous-entry
     66 bind index u    next-unread
     67 bind index i    read-thread
     68 
     69 bind index,pager K sidebar-prev
     70 bind index,pager J sidebar-next
     71 bind index,pager O sidebar-open
     72 
     73 # Theme/Colors
     74 color normal    default default
     75 color attachment brightyellow default
     76 color hdrdefault cyan default
     77 color indicator black cyan
     78 color markers   brightred white
     79 color quoted    green default
     80 color quoted2   magenta default
     81 color quoted3   brightred default
     82 color quoted4   cyan default
     83 color signature cyan default
     84 color status    brightred default
     85 color tilde blue default
     86 
     87 color index red default ~D
     88 color index magenta default ~T
     89 color tree  magenta default
     90 
     91 color sidebar_new magenta default
     92 color sidebar_divider brightred default
     93 color sidebar_highlight black color44
     94 
     95 # Split mode
     96 set pager_index_lines = 8
     97 
     98 # NotMuch Macros
     99 macro index / "<enter-command>unset wait_key<enter><shell-escape>python-notmuch.py<enter><change-folder-readonly>~/.cache/mutt_results<enter>"
    100 macro index I "<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt thread<enter><change-folder-readonly>~/.cache/notmuch/mutt/results<enter>"