diff options
author | NeodarZ <neodarz@neodarz.net> | 2017-08-24 16:42:41 +0200 |
---|---|---|
committer | NeodarZ <neodarz@neodarz.net> | 2017-08-24 16:42:41 +0200 |
commit | facc8ea0188a2ff463bb3d022ea5013c464f36c7 (patch) | |
tree | e103a22bac7881e7647d324dbd3cbe8a583dfd3e /mutt | |
parent | 526ea453b3f1dd86ab3bff90f1fa09dce0d337e5 (diff) | |
download | dotfiles_ascii-facc8ea0188a2ff463bb3d022ea5013c464f36c7.tar.xz dotfiles_ascii-facc8ea0188a2ff463bb3d022ea5013c464f36c7.zip |
Git new correct conf for mutt
Diffstat (limited to 'mutt')
-rw-r--r-- | mutt/.mutt/account.net.neodarz.corentin.breton | 30 | ||||
-rw-r--r-- | mutt/.mutt/account.net.neodarz.neodarz | 36 | ||||
-rw-r--r-- | mutt/.mutt/cache/bodies | 0 | ||||
-rw-r--r-- | mutt/.mutt/cache/headers | 1 | ||||
-rw-r--r-- | mutt/.mutt/certificates | 0 | ||||
-rw-r--r-- | mutt/.mutt/gpg.rc | 86 | ||||
-rw-r--r-- | mutt/.mutt/mutt-colors-solarized-dark-256.muttrc | 151 | ||||
-rw-r--r-- | mutt/.mutt/muttrc | 16 | ||||
-rw-r--r-- | mutt/.mutt/vombatidae.mutt | 95 | ||||
-rw-r--r-- | mutt/.muttrc | 109 |
10 files changed, 507 insertions, 17 deletions
diff --git a/mutt/.mutt/account.net.neodarz.corentin.breton b/mutt/.mutt/account.net.neodarz.corentin.breton new file mode 100644 index 0000000..0f59758 --- /dev/null +++ b/mutt/.mutt/account.net.neodarz.corentin.breton @@ -0,0 +1,30 @@ +unmailboxes * +mailboxes =Inbox =Drafts =Sents +#set imap_user = "corentin.breton@neodarz.net" +#set smtp_url = "smtp://corentin.breton@mail.neodarz.net:587" +set sendmail="/usr/bin/msmtp" +set from = "corentin.breton@neodarz.net" +set realname = "Corentin Breton" +#set folder = "imaps://mail.neodarz.net:993" +#set spoolfile = "+INBOX" +#set header_cache = ~/.mutt/net.neodarz.corentin.breton/cache/headers +#set message_cachedir = ~/.mutt/net.neodarz.corentin.breton/cache/bodies + +#set postponed = +Drafts +#set record = +Sent + +set folder = "~/Mail" +set spoolfile = "+corentin.breton@neodarz.net/INBOX" +set record = "+corentin.breton@neodarz.net/Sent" +set postponed = "+corentin.breton@neodarz.net/Drafts" + +set pager_index_lines=10 + +set pgp_use_gpg_agent = yes +set pgp_sign_as = 9D006C6E30CEC9A888A6F804905EAB92577DA42C +set pgp_timeout = 3600 +set crypt_autosign = yes +set crypt_replyencryp = yes +set pgp_autosign = yes + +#source "gpg -d ~/.mutt/net.neodarz.corentin.breton.imap.password.gpg |" diff --git a/mutt/.mutt/account.net.neodarz.neodarz b/mutt/.mutt/account.net.neodarz.neodarz new file mode 100644 index 0000000..ed15e49 --- /dev/null +++ b/mutt/.mutt/account.net.neodarz.neodarz @@ -0,0 +1,36 @@ +unmailboxes * +mailboxes "+neodarz@neodarz.net/INBOX" "+neodarz@neodarz.net/Sent" "+neodarz@neodarz.net/Drafts" +#set ssl_starttls=yes +#set ssl_force_tls=yes +#set imap_check_subscribed +#set imap_user = "neodarz@neodarz.net" +#set smtp_url = "smtps://neodarz@mail.neodarz.net:587" +set sendmail="/usr/bin/msmtp" +set from = "neodarz@neodarz.net" +set realname = "neodarz" +#set folder = "imaps://mail.neodarz.net:993" +#set spoolfile = +INBOX +#set header_cache = ~/.mutt/net.neodarz.neodarz/cache/headers +#set message_cachedir = ~/.mutt/net.neodarz.neodarz/cache/bodies +#set certificate_file =~/.mutt/certificates + +#set postponed = +Drafts +#set record = +Sent + +set folder = "~/Mail" +#source ~/.mutt/mailboxes +set spoolfile = "+neodarz@neodarz.net/INBOX" +set record = "+neodarz@neodarz.net/Sent" +set postponed = "+neodarz@neodarz.net/Drafts" + +set pager_index_lines=10 + +set pgp_use_gpg_agent = yes +set pgp_sign_as = 4987E1338C1FA0D7C09650A0B0811718191581D5 +set pgp_timeout = 3600 +set crypt_autosign = yes +set crypt_replyencrypt = yes +set pgp_autosign = yes + +#source "gpg -d ~/.mutt/net.neodarz.neodarz.imap.password.gpg |" +#source "pass Mail/neodarz@neodarz.net" diff --git a/mutt/.mutt/cache/bodies b/mutt/.mutt/cache/bodies deleted file mode 100644 index e69de29..0000000 --- a/mutt/.mutt/cache/bodies +++ /dev/null diff --git a/mutt/.mutt/cache/headers b/mutt/.mutt/cache/headers deleted file mode 100644 index 8b13789..0000000 --- a/mutt/.mutt/cache/headers +++ /dev/null @@ -1 +0,0 @@ - diff --git a/mutt/.mutt/certificates b/mutt/.mutt/certificates deleted file mode 100644 index e69de29..0000000 --- a/mutt/.mutt/certificates +++ /dev/null diff --git a/mutt/.mutt/gpg.rc b/mutt/.mutt/gpg.rc new file mode 100644 index 0000000..3392038 --- /dev/null +++ b/mutt/.mutt/gpg.rc @@ -0,0 +1,86 @@ +# -*-muttrc-*- +# +# Command formats for gpg. +# +# This version uses gpg-2comp from +# http://70t.de/download/gpg-2comp.tar.gz +# +# %p The empty string when no passphrase is needed, +# the string "PGPPASSFD=0" if one is needed. +# +# This is mostly used in conditional % sequences. +# +# %f Most PGP commands operate on a single file or a file +# containing a message. %f expands to this file's name. +# +# %s When verifying signatures, there is another temporary file +# containing the detached signature. %s expands to this +# file's name. +# +# %a In "signing" contexts, this expands to the value of the +# configuration variable $pgp_sign_as. You probably need to +# use this within a conditional % sequence. +# +# %r In many contexts, mutt passes key IDs to pgp. %r expands to +# a list of key IDs. + +# Note that we explicitly set the comment armor header since GnuPG, when used +# in some localiaztion environments, generates 8bit data in that header, thereby +# breaking PGP/MIME. + +# decode application/pgp +set pgp_decode_command="gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f" + +# verify a pgp/mime signature +set pgp_verify_command="gpg --status-fd=2 --no-verbose --quiet --batch --output - --verify %s %f" + +# decrypt a pgp/mime attachment +set pgp_decrypt_command="gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f" + +# create a pgp/mime signed attachment +# set pgp_sign_command="gpg-2comp --comment '' --no-verbose --batch --output - %?p?--passphrase-fd 0? --armor --detach-sign --textmode %?a?-u %a? %f" +set pgp_sign_command="gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --detach-sign --textmode %?a?-u %a? %f" + +# create a application/pgp signed (old-style) message +# set pgp_clearsign_command="gpg-2comp --comment '' --no-verbose --batch --output - %?p?--passphrase-fd 0? --armor --textmode --clearsign %?a?-u %a? %f" +set pgp_clearsign_command="gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --textmode --clearsign %?a?-u %a? %f" + +# create a pgp/mime encrypted attachment +# set pgp_encrypt_only_command="pgpewrap gpg-2comp -v --batch --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" +set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" + +# create a pgp/mime encrypted and signed attachment +# set pgp_encrypt_sign_command="pgpewrap gpg-2comp %?p?--passphrase-fd 0? -v --batch --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" +set pgp_encrypt_sign_command="pgpewrap gpg %?p?--passphrase-fd 0? --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" + +# import a key into the public key ring +set pgp_import_command="gpg --no-verbose --import %f" + +# export a key from the public key ring +set pgp_export_command="gpg --no-verbose --export --armor %r" + +# verify a key +set pgp_verify_key_command="gpg --verbose --batch --fingerprint --check-sigs %r" + +# read in the public key ring +set pgp_list_pubring_command="gpg --no-verbose --batch --quiet --with-colons --with-fingerprint --with-fingerprint --list-keys %r" + +# read in the secret key ring +set pgp_list_secring_command="gpg --no-verbose --batch --quiet --with-colons --with-fingerprint --with-fingerprint --list-secret-keys %r" + +# fetch keys +# set pgp_getkeys_command="pkspxycwrap %r" + +# pattern for good signature - may need to be adapted to locale! + +# set pgp_good_sign="^gpgv?: Good signature from " + +# OK, here's a version which uses gnupg's message catalog: +# set pgp_good_sign="`gettext -d gnupg -s 'Good signature from "' | tr -d '"'`" + +# This version uses --status-fd messages +set pgp_good_sign="^\\[GNUPG:\\] GOODSIG" + +# pattern to verify a decryption occurred +set pgp_decryption_okay="^\\[GNUPG:\\] DECRYPTION_OKAY" + diff --git a/mutt/.mutt/mutt-colors-solarized-dark-256.muttrc b/mutt/.mutt/mutt-colors-solarized-dark-256.muttrc new file mode 100644 index 0000000..b318651 --- /dev/null +++ b/mutt/.mutt/mutt-colors-solarized-dark-256.muttrc @@ -0,0 +1,151 @@ +# vim: filetype=muttrc + +# +# +# make sure that you are using mutt linked against slang, not ncurses, or +# suffer the consequences of weird color issues. use "mutt -v" to check this. + +# custom body highlights ----------------------------------------------- +# highlight my name and other personally relevant strings +#color body color136 color234 "(ethan|schoonover)" +# custom index highlights ---------------------------------------------- +# messages which mention my name in the body +#color index color136 color234 "~b \"phil(_g|\!| gregory| gold)|pgregory\" !~N !~T !~F !~p !~P" +#color index J_cream color230 "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~N !~T !~F !~p !~P" +#color index color136 color37 "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~T !~F !~p !~P" +#color index color136 J_magent "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~F !~p !~P" +## messages which are in reference to my mails +#color index J_magent color234 "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" !~N !~T !~F !~p !~P" +#color index J_magent color230 "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~N !~T !~F !~p !~P" +#color index J_magent color37 "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~T !~F !~p !~P" +#color index J_magent color160 "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~F !~p !~P" + +# for background in 16 color terminal, valid background colors include: +# base03, bg, black, any of the non brights + +# basic colors --------------------------------------------------------- +color normal color241 color234 +color error color160 color234 +color tilde color235 color234 +color message color37 color234 +color markers color160 color254 +color attachment color254 color234 +color search color61 color234 +#color status J_black J_status +color status color241 color235 +color indicator color234 color136 +color tree color136 color234 # arrow in threads + +# basic monocolor screen +mono bold bold +mono underline underline +mono indicator reverse +mono error bold + +# index ---------------------------------------------------------------- + +#color index color160 color234 "~D(!~p|~p)" # deleted +#color index color235 color234 ~F # flagged +#color index color166 color234 ~= # duplicate messages +#color index color240 color234 "~A!~N!~T!~p!~Q!~F!~D!~P" # the rest +#color index J_base color234 "~A~N!~T!~p!~Q!~F!~D" # the rest, new +color index color160 color234 "~A" # all messages +color index color166 color234 "~E" # expired messages +color index color33 color234 "~N" # new messages +color index color33 color234 "~O" # old messages +color index color61 color234 "~Q" # messages that have been replied to +color index color240 color234 "~R" # read messages +color index color33 color234 "~U" # unread messages +color index color33 color234 "~U~$" # unread, unreferenced messages +color index color241 color234 "~v" # messages part of a collapsed thread +color index color241 color234 "~P" # messages from me +color index color37 color234 "~p!~F" # messages to me +color index color37 color234 "~N~p!~F" # new messages to me +color index color37 color234 "~U~p!~F" # unread messages to me +color index color240 color234 "~R~p!~F" # messages to me +color index color160 color234 "~F" # flagged messages +color index color160 color234 "~F~p" # flagged messages to me +color index color160 color234 "~N~F" # new flagged messages +color index color160 color234 "~N~F~p" # new flagged messages to me +color index color160 color234 "~U~F~p" # new flagged messages to me +color index color235 color160 "~D" # deleted messages +color index color245 color234 "~v~(!~N)" # collapsed thread with no unread +color index color136 color234 "~v~(~N)" # collapsed thread with some unread +color index color64 color234 "~N~v~(~N)" # collapsed thread with unread parent +# statusbg used to indicated flagged when foreground color shows other status +# for collapsed thread +color index color160 color235 "~v~(~F)!~N" # collapsed thread with flagged, no unread +color index color136 color235 "~v~(~F~N)" # collapsed thread with some unread & flagged +color index color64 color235 "~N~v~(~F~N)" # collapsed thread with unread parent & flagged +color index color64 color235 "~N~v~(~F)" # collapsed thread with unread parent, no unread inside, but some flagged +color index color37 color235 "~v~(~p)" # collapsed thread with unread parent, no unread inside, some to me directly +color index color136 color160 "~v~(~D)" # thread with deleted (doesn't differentiate between all or partial) +#color index color136 color234 "~(~N)" # messages in threads with some unread +#color index color64 color234 "~S" # superseded messages +#color index color160 color234 "~T" # tagged messages +#color index color166 color160 "~=" # duplicated messages + +# message headers ------------------------------------------------------ + +#color header color240 color234 "^" +color hdrdefault color240 color234 +color header color241 color234 "^(From)" +color header color33 color234 "^(Subject)" + +# body ----------------------------------------------------------------- + +color quoted color33 color234 +color quoted1 color37 color234 +color quoted2 color136 color234 +color quoted3 color160 color234 +color quoted4 color166 color234 + +color signature color240 color234 +color bold color235 color234 +color underline color235 color234 +color normal color244 color234 +# +color body color245 color234 "[;:][-o][)/(|]" # emoticons +color body color245 color234 "[;:][)(|]" # emoticons +color body color245 color234 "[*]?((N)?ACK|CU|LOL|SCNR|BRB|BTW|CWYL|\ + |FWIW|vbg|GD&R|HTH|HTHBE|IMHO|IMNSHO|\ + |IRL|RTFM|ROTFL|ROFL|YMMV)[*]?" +color body color245 color234 "[ ][*][^*]*[*][ ]?" # more emoticon? +color body color245 color234 "[ ]?[*][^*]*[*][ ]" # more emoticon? + +## pgp + +color body color160 color234 "(BAD signature)" +color body color37 color234 "(Good signature)" +color body color234 color234 "^gpg: Good signature .*" +color body color241 color234 "^gpg: " +color body color241 color160 "^gpg: BAD signature from.*" +mono body bold "^gpg: Good signature" +mono body bold "^gpg: BAD signature from.*" + +# yes, an insance URL regex +color body color160 color234 "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]" +# and a heavy handed email regex +#color body J_magent color234 "((@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]),)*@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]):)?[0-9a-z_.+%$-]+@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\])" + +# Various smilies and the like +#color body color230 color234 "<[Gg]>" # <g> +#color body color230 color234 "<[Bb][Gg]>" # <bg> +#color body color136 color234 " [;:]-*[})>{(<|]" # :-) etc... +# *bold* +#color body color33 color234 "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)" +#mono body bold "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)" +# _underline_ +#color body color33 color234 "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)" +#mono body underline "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)" +# /italic/ (Sometimes gets directory names) +#color body color33 color234 "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)" +#mono body underline "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)" + +# Border lines. +#color body color33 color234 "( *[-+=#*~_]){6,}" + +#folder-hook . "color status J_black J_status " +#folder-hook gmail/inbox "color status J_black color136 " +#folder-hook gmail/important "color status J_black color136 " + diff --git a/mutt/.mutt/muttrc b/mutt/.mutt/muttrc deleted file mode 100644 index fee210e..0000000 --- a/mutt/.mutt/muttrc +++ /dev/null @@ -1,16 +0,0 @@ -set imap_user = "e@mail.com" -set imap_pass = "" -set smtp_url = "smtp://user@smtp.email.com:587/" -set smtp_pass = "" -set from = "e@mail.com" -set realname = "xero" -set header_cache = "~/.mutt/cache/headers" -set message_cachedir = "~/.mutt/cache/" -set certificate_file = "~/.mutt/certificates" -set folder = imaps://imap.mail.com/ -set spoolfile = +INBOX -mailboxes = +INBOX -unset imap_passive -set imap_keepalive = 300 -set mail_check = 120 -set editor = vim diff --git a/mutt/.mutt/vombatidae.mutt b/mutt/.mutt/vombatidae.mutt new file mode 100644 index 0000000..ab9f3cf --- /dev/null +++ b/mutt/.mutt/vombatidae.mutt @@ -0,0 +1,95 @@ +# Mutt color file +# Maintainer: Jon Häggblad <jon@haeggblad.com> +# URL: http://www.haeggblad.com +# Last Change: 2013 May 17 +# Version: 0.1 +# +# Mutt colorscheme loosely inspired by vim colorscheme wombat.vim. +# +# Changelog: +# 0.1 - Initial version + + +# --- vombatidae text colors --- +# color normal color230 color234 +# color message color230 color234 + +# --- slightly less yellow text colors --- +color normal color253 color234 # mod +# color normal color253 color233 # mod +# color normal color253 default # mod +color indicator color230 color238 +color status color101 color16 +# color tree color113 color234 +# color tree color173 color234 +color tree color208 color234 +color signature color102 color234 +color message color253 color234 +color attachment color117 color234 +color error color30 color234 +color tilde color130 color235 + +color search color100 default +color markers color138 default + +# mono bold reverse +# color bold color173 color191 +# mono underline reverse +# color underline color48 color191 + +color quoted color107 color234 # quoted text +color quoted1 color66 color234 +color quoted2 color32 color234 +color quoted3 color30 color234 +color quoted4 color99 color234 +color quoted5 color36 color234 +color quoted6 color114 color234 +color quoted7 color109 color234 +color quoted8 color41 color234 +color quoted9 color138 color234 + +# color body cyan default "((ftp|http|https)://|news:)[^ >)\"\t]+" +# color body cyan default "[-a-z_0-9.+]+@[-a-z_0-9.]+" +# color body red default "(^| )\\*[-a-z0-9*]+\\*[,.?]?[ \n]" +# color body green default "(^| )_[-a-z0-9_]+_[,.?]?[\n]" +# color body red default "(^| )\\*[-a-z0-9*]+\\*[,.?]?[ \n]" +# color body green default "(^| )_[-a-z0-9_]+_[,.?]?[ \n]" +color index color202 color234 ~F # Flagged +color index color39 color234 ~N # New +color index color39 color234 ~O +color index color229 color22 ~T # Tagged +color index color240 color234 ~D # Deleted + +# --- + +#mono body reverse '^(subject):.*' +#color body brightwhite magenta '^(subject):.*' +#mono body reverse '[[:alpha:]][[:alnum:]-]+:' +#color body black cyan '[[:alpha:]][[:alnum:]-]+:' + +# --- header --- + +color hdrdefault color30 color233 +color header color132 color233 '^date:' +color header color153 color233 '^(to|cc|bcc):' +color header color120 color233 '^from:' +color header color178 color233 '^subject:' +color header color31 color233 '^user-agent:' +color header color29 color233 '^reply-to:' + +#color header magenta default '^(status|lines|date|received|sender|references):' +#color header magenta default '^(pr|mime|x-|user|return|content-)[^:]*:' +#color header brightyellow default '^content-type:' +#color header magenta default '^content-type: *text/plain' +# color header brightgreen default '^list-[^:]*:' +#mono header bold '^(subject):.*$' +#color header brightcyan default '^(disposition)' +#color header green default '^(mail-)?followup' +#color header white default '^reply' +#color header brightwhite default '^(resent)' +# color header brightwhite default '^from:' + +#mono index bold '~h "^content-type: *(multipart/(mixed|signed|encrypted)|application/)"' +#color index green black '~h "^content-type: *multipart/(signed|encrypted)"' + +#color sidebar_new color39 color234 diff --git a/mutt/.muttrc b/mutt/.muttrc new file mode 100644 index 0000000..0b2dab7 --- /dev/null +++ b/mutt/.muttrc @@ -0,0 +1,109 @@ +# Store message headers locally to speed things up. +# If hcache is a folder, Mutt will create sub cache folders for each account which may speeds things up even more. +set header_cache = ~/.cache/mutt + +# Store messages locally to speed things up, like searching message bodies. +# Can be the same folder as header_cache. +# This will cost important disk usage according to your e-mail amount. +set message_cachedir = "~/.cache/mutt" + +set sidebar_visible = yes +set editor="vim + -c 'set ft=mail tw=80' -c ':0/^$'" +set sort=threads + +### +#bind pager j next-line +#bind pager k previous-line +#bind attach,index,pager \CD next-page +#bind attach,index,pager \CU previous-page +#bind pager g top +#bind pager G bottom +#bind attach,index g first-entry +#bind attach,index G last-entry +### + +# Folder hooks +folder-hook 'account.net.neodarz.neodarz' 'source ~/.mutt/account.net.neodarz.neodarz' +folder-hook 'account.net.neodarz.corentin.breton' 'source ~/.mutt/account.net.neodarz.corentin.breton' + +# GPG commands +source ~/.mutt/gpg.rc + +# Default account +source ~/.mutt/account.net.neodarz.neodarz + +# Macros for switching accounts +macro index <f2> '<sync-mailbox><refresh><enter-command>source ~/.mutt/account.net.neodarz.neodarz<enter><change-folder>!<enter>' +macro index <f3> '<sync-mailbox><refresh><enter-command>source ~/.mutt/account.net.neodarz.corentin.breton<enter><change-folder>!<enter>' + +# Fetch mail shortcut +bind index G imap-fetch-mail + +macro index 'c' '<change-folder>?<change-dir><home>^K=<enter>' +macro attach W <save-entry><kill-line>/home/neodarz/attachments/ +macro attach E <save-entry><kill-line>/home/neodarz/attachments/<enter> + +# Color +#source ~/.mutt/vombatidae.mutt +#source ~/.mutt/mutt-colors-solarized-dark-256.muttrc + +# Default colour definitions +color hdrdefault default default +color quoted default default +color signature default default +color indicator black white +color attachment default default +color error default default +color message default default +color search brightwhite green +color status default default +color tree default default +color normal default default +color tilde default default +color bold default default +color markers red white + +# Colour definitions when on a mono screen +mono bold bold +mono underline underline +mono indicator reverse + +# Colours for items in the reader +color header brightwhite default "^(From|Subject|Date|To|User-Agent):" +color header red default "^X-Junked-Because: " +color header red default "^X-Virus-hagbard: .* FOUND" +mono header bold "^(Date|To|User-Agent|From|Subject|X-Junked-Because|X-Virus-hagbard):" + +# Colours for items in the index +color index green default ~N +color index blue default ~O +color index green white "~N (~x hagbard\.davep\.org | ~h \"^In-[Rr]eply-[Tt]o: .*hagbard\.davep\.org\")" +color index red white ~F +color index black green ~T +color index brightwhite black ~D +mono index bold ~N +mono index bold ~F +mono index bold ~T +mono index bold ~D + +# Highlights inside the body of a message. + +# URLs +color body black white "(http|https|ftp|news|telnet|finger)://[^ \">\t\r\n]*" +color body black white "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+" +color body black white "news:[^ \">\t\r\n]*" +mono body bold "(http|https|ftp|news|telnet|finger)://[^ \">\t\r\n]*" +mono body bold "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+" +mono body bold "news:[^ \">\t\r\n]*" + +# email addresses +color body black white "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+" +mono body bold "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+" + +# Various smilies and the like +#color body brightgreen white "<[Gg]>" # <g> +#color body brightgreen white "<[Bb][Gg]>" # <bg> +#color body brightgreen white " [;:]-*[)>(<|]" # :-) etc... +#color body brightblue white "(^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$)" # *Bold* text. +#color body brightblue white "(^|[[:space:]])_[^[:space:]]+_([[:space:]]|$)" # _Underlined_ text. +#color body brightblue white "(^|[[:space:]])/[^[:space:]]+/([[:space:]]|$)" # /Italic/ text. |