diff options
author | Tharre <tharre3@gmail.com> | 2016-10-07 20:53:06 +0000 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2016-10-16 15:23:59 +0000 |
commit | edbcca8cd2b93b8c88eb62c431d04ea832b73180 (patch) | |
tree | bac188c0ee4c1c214dd50568e70783a7ee2c3565 /.mutt | |
parent | d4f1a0f27100ff2f4380fa4cf38b09e7f0c051f7 (diff) | |
download | dotfiles-edbcca8cd2b93b8c88eb62c431d04ea832b73180.tar.gz dotfiles-edbcca8cd2b93b8c88eb62c431d04ea832b73180.tar.xz dotfiles-edbcca8cd2b93b8c88eb62c431d04ea832b73180.zip |
Reorganise dotfiles
Diffstat (limited to '.mutt')
-rw-r--r-- | .mutt/Equifax_Secure_CA.cert | 17 | ||||
-rw-r--r-- | .mutt/colors.muttrc | 65 | ||||
-rw-r--r-- | .mutt/gpg.muttrc | 11 | ||||
-rw-r--r-- | .mutt/muttrc | 133 | ||||
-rw-r--r-- | .mutt/offlineimap.py | 5 | ||||
-rw-r--r-- | .mutt/sig | 1 | ||||
-rw-r--r-- | .mutt/temp/.gitignore | 4 |
7 files changed, 236 insertions, 0 deletions
diff --git a/.mutt/Equifax_Secure_CA.cert b/.mutt/Equifax_Secure_CA.cert new file mode 100644 index 0000000..c3e1112 --- /dev/null +++ b/.mutt/Equifax_Secure_CA.cert @@ -0,0 +1,17 @@ +-----BEGIN CERTIFICATE----- +MIIDIDCCAomgAwIBAgIENd70zzANBgkqhkiG9w0BAQUFADBOMQswCQYDVQQGEwJVUzEQMA4GA1UE +ChMHRXF1aWZheDEtMCsGA1UECxMkRXF1aWZheCBTZWN1cmUgQ2VydGlmaWNhdGUgQXV0aG9yaXR5 +MB4XDTk4MDgyMjE2NDE1MVoXDTE4MDgyMjE2NDE1MVowTjELMAkGA1UEBhMCVVMxEDAOBgNVBAoT +B0VxdWlmYXgxLTArBgNVBAsTJEVxdWlmYXggU2VjdXJlIENlcnRpZmljYXRlIEF1dGhvcml0eTCB +nzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAwV2xWGcIYu6gmi0fCG2RFGiYCh7+2gRvE4RiIcPR +fM6fBeC4AfBONOziipUEZKzxa1NfBbPLZ4C/QgKO/t0BCezhABRP/PvwDN1Dulsr4R+AcJkVV5MW +8Q+XarfCaCMczE1ZMKxRHjuvK9buY0V7xdlfUNLjUA86iOe/FP3gx7kCAwEAAaOCAQkwggEFMHAG +A1UdHwRpMGcwZaBjoGGkXzBdMQswCQYDVQQGEwJVUzEQMA4GA1UEChMHRXF1aWZheDEtMCsGA1UE +CxMkRXF1aWZheCBTZWN1cmUgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MQ0wCwYDVQQDEwRDUkwxMBoG +A1UdEAQTMBGBDzIwMTgwODIyMTY0MTUxWjALBgNVHQ8EBAMCAQYwHwYDVR0jBBgwFoAUSOZo+SvS +spXXR9gjIBBPM5iQn9QwHQYDVR0OBBYEFEjmaPkr0rKV10fYIyAQTzOYkJ/UMAwGA1UdEwQFMAMB +Af8wGgYJKoZIhvZ9B0EABA0wCxsFVjMuMGMDAgbAMA0GCSqGSIb3DQEBBQUAA4GBAFjOKer89961 +zgK5F7WF0bnj4JXMJTENAKaSbn+2kmOeUJXRmm/kEd5jhW6Y7qj/WsjTVbJmcVfewCHrPSqnI0kB +BIZCe/zuf6IWUrVnZ9NA2zsmWLIodz2uFHdh1voqZiegDfqnc1zqcPGUIWVEX/r87yloqaKHee95 +70+sB3c4 +-----END CERTIFICATE-----
\ No newline at end of file diff --git a/.mutt/colors.muttrc b/.mutt/colors.muttrc new file mode 100644 index 0000000..25c8dda --- /dev/null +++ b/.mutt/colors.muttrc @@ -0,0 +1,65 @@ +# vim: filetype=muttrc + +# colors: white black green magenta blue cyan yellow red default colorx + +color normal color245 color233 +color error color124 color233 +color tilde color245 color233 +color message yellow color233 +color markers yellow color233 +color attachment color221 color233 +color search color48 color240 # how to hilite search patterns in the pager +color status color42 color237 +color indicator color220 color88 + +# Index +color tree color124 color233 # arrow in threads +color index color184 color233 "~N~p" # message to myself (new) +color index color130 color233 "~p" # message to myself +color index color137 color233 "~Q" # messages replied to +color index color70 color233 "~P" # message from myself +color index color220 color233 ~N # new +color index color208 color233 ~U # unread +color index color142 color233 ~O # old +color index color91 color233 ~T # tagged +color index color238 color233 "~D(!~p|~p)" # deleted +color index color196 color233 ~F # flagged +color index color250 color233 "~A!~N!~T!~p!~Q!~F!~D!~P" # the rest +color index color220 color233 "~A~N!~T!~p!~Q!~F!~D" # the rest +color index color232 color124 ~= # duplicate messages + + +color header color74 color233 "^From" +color header color88 color233 "^Date" +color header color166 color233 "^(Subject)" +color header color244 color233 "^(To|Reply-To|Cc|Bcc):" +color header color245 color233 "^(X-Original-To):" +color header color96 color233 "^(User-Agent|X-Editor|X-Mailer):" +color header cyan color233 "^Organization:" + +# Body +color quoted color24 color233 +color quoted1 color28 color233 +color quoted2 color94 color233 +color quoted3 color88 color233 +color signature color238 color233 +color bold green color233 +color underline color208 color233 +color normal color250 color233 +color body color39 color233 "(finger|ftp|http|news|telnet)://[^ >]*" +color body color39 color233 "<URL:[^ ]*>" +color body cyan color233 "www\\.[-.a-z0-9]+\\.[a-z][a-z][a-z]?([-_./~a-z0-9]+)?" +color body green color233 "[[:alnum:]][-+.#_[:alnum:]]*@[-+.[:alnum:]]*[[:alnum:]]" +color body brightred color233 "mailto: *[^ ]+\(\\?subject=[^ ]+\)?" +color body color178 color233 "[;:][-o][)/(|]" +color body color178 color233 "[;:][)(|]" +color body color178 color233 "[*]?((N)?ACK|CU|LOL|SCNR|BRB|BTW|CWYL|FWIW|vbg|GD&R|HTH|HTHBE|IMHO|IMNSHO|IRL|RTFM|ROTFL|ROFL|YMMV)[*]?" +color body color178 color233 "[ ][*][^*]*[*][ ]?" +color body color178 color233 "[ ]?[*][^*]*[*][ ]" +color body brightred color233 "(BAD signature)" +color body green color233 "(Good signature)" +color body color208 color233 "(heipei|hackvalue|Jojo|Gilger|Johannes)" + +color hdrdefault color238 color233 +color body color128 color233 '[-.+\w]+@[-.\w]+[^.]' # e-mail addresses +color underline brightgreen color233 diff --git a/.mutt/gpg.muttrc b/.mutt/gpg.muttrc new file mode 100644 index 0000000..bb9a5a7 --- /dev/null +++ b/.mutt/gpg.muttrc @@ -0,0 +1,11 @@ +# Use GPGME +set crypt_use_gpgme = yes + +# Automatically sign all outgoing mails +set crypt_autosign = yes + +# Encrypt replies to encrypted mail +set crypt_replyencrypt = yes + +# Attempt to verify email signatures automatically +set crypt_verify_sig = yes diff --git a/.mutt/muttrc b/.mutt/muttrc new file mode 100644 index 0000000..bd1c83a --- /dev/null +++ b/.mutt/muttrc @@ -0,0 +1,133 @@ +# Paths ---------------------------------------------- +set folder = ~/.mail # mailbox location +set alias_file = ~/.mutt/alias # where to store aliases +set header_cache = ~/.mutt/cache/headers # where to store headers +set message_cachedir = ~/.mutt/cache/bodies # where to store bodies +set certificate_file = ~/.mutt/certificates # where to store certs +set mailcap_path = ~/.mutt/mailcap # entries for filetypes +set tmpdir = ~/.mutt/temp # where to keep temp files +set signature = ~/.mutt/sig # my signature file + +# Basic Options -------------------------------------- +set wait_key = no # shut up, mutt +set mbox_type = Maildir # mailbox type +set timeout = 3 # idle time before scanning +set mail_check = 0 # minimum time between scans +unset move # gmail does that +set delete # don't ask, just do +unset confirmappend # don't ask, just do! +set quit # don't ask, just do!! +unset mark_old # read/new is good enough for me +set beep_new # bell on new mails +set pipe_decode # strip headers and eval mimes when piping +set thorough_search # strip headers and eval mimes before searching + +# Status Bar ----------------------------------------- +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 )?───" + +# Header Options ------------------------------------- +ignore * # ignore all headers +unignore from: to: cc: date: subject: # show only these +unhdr_order * # some distros order things by default +hdr_order from: to: cc: date: subject: # and in this order + +# Account Settings ----------------------------------- + +# Default inbox. +set spoolfile = "+tharre3@gmail.com/INBOX" + +# Alternate email addresses. +#alternates sjl@pculture.org still\.?life@gmail.com steve@ladyluckblues.com steve@pculture.org + +# Mailboxes to show in the sidebar. +mailboxes +tharre3@gmail.com/INBOX \ + +tharre3@gmail.com/Archives \ + +tharre3@gmail.com/sent \ + +tharre3@gmail.com/drafts \ + +# Other special folders. +set mbox = "+tharre3@gmail.com/Archives" +set postponed = "+tharre3@gmail.com/drafts" + +# Index View Options --------------------------------- +set date_format = "%m/%d" +set index_format = "[%Z] %D %-20.20F %s" +set sort = threads # like gmail +set sort_aux = reverse-last-date-received # like gmail +set uncollapse_jump # don't collapse on an unread message +set sort_re # thread based on regex +set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*" + +# Index Key Bindings --------------------------------- +bind index gg first-entry +bind index G last-entry + +# don't skip over deleted messages +bind index j next-entry +bind index k previous-entry + +bind index R group-reply +bind index <tab> sync-mailbox +bind index <space> collapse-thread + +# Ctrl-R to mark all as read +macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read" + +# Sync email +macro index O "<shell-escape>offlineimap<enter>" "run offlineimap to sync all mail" +macro index o "<shell-escape>offlineimap -qf INBOX<enter>" "run offlineimap to sync inbox" + +# Saner copy/move dialogs +macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox" +macro index M "<save-message>?<toggle-mailboxes>" "move a message to a mailbox" + +# Pager View Options --------------------------------- +set pager_index_lines = 10 # number of index lines to show +set pager_context = 3 # number of context lines to show +set pager_stop # don't go to next message automatically +set menu_scroll # scroll in menus +set tilde # show tildes like in vim +unset markers # no ugly plus signs + +set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+" +alternative_order text/plain text/enriched text/html + +# Pager Key Bindings --------------------------------- +bind pager k previous-line +bind pager j next-line +bind pager gg top +bind pager G bottom + +bind pager R group-reply + +# View attachments properly. +bind attach <return> view-mailcap + +# Compose View Options ------------------------------- +set realname = "Unkown" # who am i? +set envelope_from # which from? +set sig_dashes # dashes before sig +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 +unset mime_forward # forward attachments as part of 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 + +# vim FTW +set editor='vim + -c "set textwidth=72 expandtab"' + +set from = "tharre3@gmail.com" +set sendmail = "/usr/bin/msmtp -a gmail" +set sendmail_wait = 0 +unset record + +source ~/.mutt/colors.muttrc +source ~/.mutt/gpg.muttrc diff --git a/.mutt/offlineimap.py b/.mutt/offlineimap.py new file mode 100644 index 0000000..c358caa --- /dev/null +++ b/.mutt/offlineimap.py @@ -0,0 +1,5 @@ +#!/bin/python +from subprocess import check_output + +def get_pass(account): + return check_output("pass email/"+account, shell=True).rstrip() diff --git a/.mutt/sig b/.mutt/sig new file mode 100644 index 0000000..255bdcb --- /dev/null +++ b/.mutt/sig @@ -0,0 +1 @@ +PGP ID: 0xC8F0B2F4 diff --git a/.mutt/temp/.gitignore b/.mutt/temp/.gitignore new file mode 100644 index 0000000..5e7d273 --- /dev/null +++ b/.mutt/temp/.gitignore @@ -0,0 +1,4 @@ +# Ignore everything in this directory +* +# Except this file +!.gitignore |