dotfiles

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

.muttrc (2635B)


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