diff options
-rw-r--r-- | mutt/color | 88 | ||||
-rw-r--r-- | mutt/muttemail | 7 | ||||
-rw-r--r-- | mutt/muttfel | 7 | ||||
-rw-r--r-- | mutt/muttgmail | 7 | ||||
-rw-r--r-- | mutt/muttrc | 29 |
5 files changed, 138 insertions, 0 deletions
diff --git a/mutt/color b/mutt/color new file mode 100644 index 0000000..b603f9e --- /dev/null +++ b/mutt/color @@ -0,0 +1,88 @@ +## Theme kindly inspired from +## http://nongeekshandbook.blogspot.ie/2009/03/mutt-color-configuration.html + +## Colours for items in the index +color index brightcyan black ~N +color index brightred black ~O +color index brightyellow black ~F +color index black green ~T +color index brightred 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 brightgreen black "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*" +color body brightgreen black "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+" +mono body bold "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*" +mono body bold "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+" + +## Email addresses. +color body brightgreen black "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+" + +## Header +color header green black "^from:" +color header green black "^to:" +color header green black "^cc:" +color header green black "^date:" +color header yellow black "^newsgroups:" +color header yellow black "^reply-to:" +color header brightcyan black "^subject:" +color header red black "^x-spam-rule:" +color header green black "^x-mailer:" +color header yellow black "^message-id:" +color header yellow black "^Organization:" +color header yellow black "^Organisation:" +color header yellow black "^User-Agent:" +color header yellow black "^message-id: .*pine" +color header yellow black "^X-Fnord:" +color header yellow black "^X-WebTV-Stationery:" + +color header red black "^x-spam-rule:" +color header green black "^x-mailer:" +color header yellow black "^message-id:" +color header yellow black "^Organization:" +color header yellow black "^Organisation:" +color header yellow black "^User-Agent:" +color header yellow black "^message-id: .*pine" +color header yellow black "^X-Fnord:" +color header yellow black "^X-WebTV-Stationery:" +color header yellow black "^X-Message-Flag:" +color header yellow black "^X-Spam-Status:" +color header yellow black "^X-SpamProbe:" +color header red black "^X-SpamProbe: SPAM" + +## Coloring quoted text - coloring the first 7 levels: +color quoted cyan black +color quoted1 yellow black +color quoted2 red black +color quoted3 green black +color quoted4 cyan black +color quoted5 yellow black +color quoted6 red black +color quoted7 green black + +## Default color definitions +#color hdrdefault white green +color signature brightmagenta black +color indicator black cyan +color attachment black green +color error red black +color message white black +color search brightwhite magenta +color status brightyellow blue +color tree brightblue black +color normal white black +color tilde green black +color bold brightyellow black +#color underline magenta black +color markers brightcyan black + +## Colour definitions when on a mono screen +mono bold bold +mono underline underline +mono indicator reverse + diff --git a/mutt/muttemail b/mutt/muttemail new file mode 100644 index 0000000..2b3b14e --- /dev/null +++ b/mutt/muttemail @@ -0,0 +1,7 @@ +# vim: set filetype=muttrc: +color status green default +set folder = "~/.mail/email" +source ~/.mutt/mailboxes +set spoolfile = "+INBOX" +set record = "+Sent\ Items" +set postponed = "+Drafts" diff --git a/mutt/muttfel b/mutt/muttfel new file mode 100644 index 0000000..10ee924 --- /dev/null +++ b/mutt/muttfel @@ -0,0 +1,7 @@ +# vim: set filetype=muttrc: +color status blue default +set folder = "~/.mail/fel" +source ~/.mutt/mailboxes +set spoolfile = "+INBOX" +set record = "+Sent\ Items" +set postponed = "+Drafts" diff --git a/mutt/muttgmail b/mutt/muttgmail new file mode 100644 index 0000000..dd3d409 --- /dev/null +++ b/mutt/muttgmail @@ -0,0 +1,7 @@ +# vim: set filetype=muttrc: +color status red default +set folder = "~/.mail/gmail" +source ~/.mutt/mailboxes +set spoolfile = "+INBOX" +set record = "+Sent\ Items" +set postponed = "+Drafts" diff --git a/mutt/muttrc b/mutt/muttrc new file mode 100644 index 0000000..a174e30 --- /dev/null +++ b/mutt/muttrc @@ -0,0 +1,29 @@ +set editor="vim" +set my_name="Karel Kočí" + +hdr_order Date From To Cc #Sorting emails by the given criteria (from left to right) +set pager_index_lines= 5 +set sort = 'threads' +set sort_aux = 'last-date-received' + +#set mbox_type=Maildir +#set folder = "~/.mail" +#set spoolfile = "+gmail/Inbox" +#set record = "+gmail/Sent" +#set postponed = "+gmail/Drafts" +#set header_cache=~/.cache/mutt +# +#set folder = "~/.imail" +#source ~/.mutt/mailboxes +#set spoolfile = "+gmail/INBOX" +#set record = "+gmail/Sent\ Items" +#set postponed = "+gmail/Drafts" + +macro index <F2> ':source ~/.mutt/muttgmail<enter>c~/.mail/gmail/INBOX<enter>' +macro index <F3> ':source ~/.mutt/muttemail<enter>c~/.mail/email/INBOX<enter>' +macro index <F4> ':source ~/.mutt/muttfel<enter>c~/.mail/fel/INBOX<enter>' + +source ~/.mutt/color + +# As default open gmail +source ~/.mutt/muttgmail |