|
- # set mbox = ~/Mail
- set realname = "Immanuel Onyeka"
- set folder = ~/Mail
- set mbox_type = Maildir
- set mbox = ~/Mail
- set spoolfile = "+personal/INBOX"
- set sidebar_visible
- set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
- bind index,pager B sidebar-toggle-visible
- set mail_check_stats
- set from = "immanuel@onyeka.ca"
- set postponed = "+personal/drafts"
- set record = "+personal/sent"
- set trash = "+personal/trash"
- # set sendmail="msmtp"
- set sendmail="msmtp -a immanuel"
- set use_envelope_from = yes
-
- # compose View Options
- set edit_headers # show headers when composing
- set fast_reply # skip to compose when replying
- set askcc # ask for CC:
- set fcc_attach # save attachments with the body
- set forward_format = "Fwd: %s" # format of subject when forwarding
- set forward_decode # decode when forwarding
- set attribution = "On %d, %n wrote:" # format of quoting header
- set reply_to # reply to Reply to: field
- set reverse_name # reply as whomever it was to
- set include # include message in replies
- set forward_quote # include message in forwards
- set editor = "vim"
- set text_flowed
- unset sig_dashes # no dashes before sig
- unset mime_forward # forward attachments as part of body
-
- # status bar, date format, finding stuff etc.
- # set status_chars = " *%A"
- set status_format = "[ Folder: %f ] [%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]%>─%?p?( %p postponed )?"
- set date_format = "%d.%m.%Y %H:%M"
- set index_format = "[%Z] %?X?A&-? %D %-20.20F %s"
- set sort = threads
- set sort_aux = reverse-last-date-received
- set uncollapse_jump
- set sort_re
- # set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
- # set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+ )+"
-
-
- # Mailboxes to show in the sidebar.
- # mailboxes =ALL-INBOX
- mailboxes =personal/INBOX =personal/archive =personal/sent =personal/drafts =personal/junk =personal/trash
- mailboxes =work/INBOX =work/Drafts =work/'Sent Items' =work/Calendar
- # mailboxes =work/"[Gmail]INBOX" =work/"[Gmail]/Spam" =work/"[Gmail]/Trash" =work/"[Gmail]/All Mail" =work/Reference
- # mailboxes =hussar
- # mailboxes =hussar/archive =hussar/sent =hussar/drafts =hussar/junk =hussar/trash
- # set sidebar_short_path
- # set sidebar_delim_chars="/"
- # set sidebar_folder_indent
- # set sidebar_indent_string=" "
-
- # Pager View Options
- # set pager_index_lines = 10
- # set pager_context = 3
- # set pager_stop
- # set menu_scroll
- # set tilde
- # unset markers
-
- # set mail_check_stats
-
- # Bindings
- bind index,pager \CP sidebar-prev
- bind index,pager \CN sidebar-next
- bind index,pager \CO sidebar-open
- # bind pager gg top
- # bind index gg first-entry
- # bind pager G bottom
- # bind index G last-entry
-
- # Other
- auto_view text/html
- # Save all attachments
- macro pager S "<pipe-message> ripmime -i - -d ~/downloads && rm ~/downloads/textfile*" "Save all non-text attachments using ripmime"
- # opening urls with urlscan
- macro pager \cb "<pipe-message> urlscan --run 'printf "{}" | xclip -i -selection clipboard'<Enter>" "call urlscan to extract URLs out of a message"
- macro index,pager O "<shell-escape>mbsync -a<enter>" "run mbsync to sync all mail"
-
- macro index,pager A \
- "<save-message>+immanuel/archive/<enter>" \
- "move message to the archive"
-
- macro index,pager I \
- "<save-message>+immanuel/INBOX/<enter>"
-
- # GPG/PGP
- # set pgp_sign_as = 2F283D0D
- set crypt_use_gpgme = yes
- set crypt_autosign = no
- set crypt_verify_sig = yes
- set crypt_replysign = yes
- set crypt_replyencrypt = yes
- set crypt_replysignencrypted = yes
-
- color normal default default
- # color attachment color109 default
- # color bold color229 default
- # color error color167 default
- # color hdrdefault color246 default
- # color indicator color235 color66
- # color markers color243 default
- # color normal color223 default
- # color quoted color250 default
- # color quoted1 color108 default
- # color quoted2 color250 default
- # color quoted3 color108 default
- # color quoted4 color250 default
- # color quoted5 color108 default
- color search default color208
- # color signature color108 default
- # color tilde color243 default
- # color tree color142 default
- # color underline color223 color239
-
- # color sidebar_divider color250 default
- # color sidebar_new color142 default
-
- # color index color142 default ~N
- # color index color108 default ~O
- # color index color109 default ~P
- # color index color214 default ~F
- # color index color175 default ~Q
- # color index color167 default ~=
- # color index default color223 ~T
- # color index default color167 ~D
-
- color header default default "^From:"
- color header default default "^To:"
- color header default default "^Subject:"
- color header default default "^X-Spam-Status:"
- color header default default "^Received:"
-
- # color body default default
- color body default default "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
- # color body color208 default "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
- # color body color208 default "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
- # color body default default "[;:]-*[)>(<lt;|]"
- color body default default "[;:]-*[)>(<lt;|]"
- color body default default "\\*[- A-Za-z]+\\*"
- # color body color229 default "\\*[- A-Za-z]+\\*"
-
- # color compose header color223 default")]"
|