diff options
author | Victor Toso <victortoso@redhat.com> | 2016-02-12 13:46:53 +0100 |
---|---|---|
committer | Victor Toso <victortoso@redhat.com> | 2016-02-12 13:46:53 +0100 |
commit | 470e0bd6f12401be79085c3a03be91713aedf17e (patch) | |
tree | 722f904c50ed2ee7bb518ff0ba71b8d1e407bfd2 | |
parent | 491311365d603b6d06378b0dfe071ed94d4062d5 (diff) |
mutt: Include my mutt configs
This is far from being stable/organized but due the fact that I lost
everything recently... I should have add this sooner.
- My colors are totally WIP at this point
- Need to do proper bindings
- html emails are not handled at this point
- Not being able to follow urls easily
- should be able to sign my mails with gpg
- should be able to encrypt my mails as well
- should be able to decrypt others mails
- and much more ...
-rw-r--r-- | mutt/accounts/lists | 14 | ||||
-rw-r--r-- | mutt/accounts/redhat | 14 | ||||
-rw-r--r-- | mutt/accounts/spam | 14 | ||||
-rw-r--r-- | mutt/accounts/victortoso | 14 | ||||
-rw-r--r-- | mutt/colors | 78 | ||||
-rw-r--r-- | mutt/muttrc | 103 | ||||
-rw-r--r-- | mutt/tmp/.emptyfolder | 0 |
7 files changed, 237 insertions, 0 deletions
diff --git a/mutt/accounts/lists b/mutt/accounts/lists new file mode 100644 index 0000000..e6175cd --- /dev/null +++ b/mutt/accounts/lists @@ -0,0 +1,14 @@ +#set pass=`gpg2 -d ...` +#set imap_user = "lists@victortoso.com" +#set imap_pass = $pass + +set from = "lists@victortoso.com" +set realname = "Victor Toso" + +set mbox = "+lists/inbox" +set postponed = "+lists/+[Gmail].Drafts" + +set sendmail = "/usr/bin/msmtp -a lists" +# ---------------------------------------------------------------------------- +# vim: set filetype=muttrc : +# ---------------------------------------------------------------------------- diff --git a/mutt/accounts/redhat b/mutt/accounts/redhat new file mode 100644 index 0000000..85491ed --- /dev/null +++ b/mutt/accounts/redhat @@ -0,0 +1,14 @@ +#set pass=`gpg2 -d ...` +#set imap_user = "victortoso@redhat.com" +#set imap_pass = $pass + +set from = "victortoso@redhat.com" +set realname = "Victor Toso" + +set mbox = "+redhat/inbox" +set postponed = "+redhat/Drafts" + +set sendmail = "/usr/bin/msmtp -a redhat" +# ---------------------------------------------------------------------------- +# vim: set filetype=muttrc : +# ---------------------------------------------------------------------------- diff --git a/mutt/accounts/spam b/mutt/accounts/spam new file mode 100644 index 0000000..dd837b0 --- /dev/null +++ b/mutt/accounts/spam @@ -0,0 +1,14 @@ +#set pass=`gpg2 -d ...` +#set imap_user = "spam@victortoso.com" +#set imap_pass = $pass + +set from = "spam@victortoso.com" +set realname = "Victor Toso" + +set mbox = "+spam/inbox" +set postponed = "+spam/+[Gmail].Drafts" + +set sendmail = "/usr/bin/msmtp -a spam" +# ---------------------------------------------------------------------------- +# vim: set filetype=muttrc : +# ---------------------------------------------------------------------------- diff --git a/mutt/accounts/victortoso b/mutt/accounts/victortoso new file mode 100644 index 0000000..14059e6 --- /dev/null +++ b/mutt/accounts/victortoso @@ -0,0 +1,14 @@ +#set pass=`gpg2 -d ...` +#set imap_user = "me@victortoso.com" +#set imap_pass = $pass + +set from = "me@victortoso.com" +set realname = "Victor Toso" + +set mbox = "+victortoso/inbox" +set postponed = "+victortoso/+[Gmail].Drafts" + +set sendmail = "/usr/bin/msmtp -a victortoso" +# ---------------------------------------------------------------------------- +# vim: set filetype=muttrc : +# ---------------------------------------------------------------------------- diff --git a/mutt/colors b/mutt/colors new file mode 100644 index 0000000..8e4b581 --- /dev/null +++ b/mutt/colors @@ -0,0 +1,78 @@ +# --------------------------------------------------------------------------- # +# Items in index ------------------------------------------------------------ # +color index color118 color000 ~N # new +color index color161 color000 ~F # flag +color index color208 color000 ~T # tagged +color index color055 color175 ~D # deleted +# --------------------------------------------------------------------------- # +# Sidebar ------------------------------------------------------------------- # +color sidebar_new color148 color000 # folders with new messages +# --------------------------------------------------------------------------- # +# Urls ---------------------------------------------------------------------- # +color body color118 black "(https|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 --------------------------------------------------------------------- # +color body brightgreen black "[-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]+" +# --------------------------------------------------------------------------- # +# Header -------------------------------------------------------------------- # +color header color071 color000 "^from:" +color header color071 color000 "^to:" +color header color071 color000 "^cc:" +color header color071 color000 "^date:" +color header color197 color000 "^subject:" +color header yellow color000 "^newsgroups:" +color header yellow color000 "^reply-to:" +color header red color000 "^x-spam-rule:" +color header color118 color000 "^x-mailer:" +color header yellow color000 "^message-id:" +color header yellow color000 "^Organization:" +color header yellow color000 "^Organisation:" +color header yellow color000 "^User-Agent:" +color header yellow color000 "^message-id: .*pine" +color header yellow color000 "^X-Fnord:" +color header yellow color000 "^X-WebTV-Stationery:" +color header yellow color000 "^X-Message-Flag:" +color header yellow color000 "^X-Spam-Status:" +color header yellow color000 "^X-SpamProbe:" +color header red color000 "^X-SpamProbe: SPAM" +# --------------------------------------------------------------------------- # +# Quoted -------------------------------------------------------------------- # +color quoted cyan color000 +color quoted1 yellow color000 +color quoted2 red color000 +color quoted3 green color000 +color quoted4 cyan color000 +color quoted5 yellow color000 +color quoted6 red color000 +color quoted7 green color000 +# --------------------------------------------------------------------------- # +# Default ------------------------------------------------------------------- # +color indicator color203 color235 +color tree color203 color000 +color attachment color000 color131 +color signature color208 color000 +color error red color000 +color message white color000 +color search brightwhite magenta +color status green color000 +color normal white color000 +color tilde green color000 +color bold brightyellow color000 +#color underline magenta black +color markers brightcyan black +# --------------------------------------------------------------------------- # +# Patches ------------------------------------------------------------------- # +color body color142 color000 "^diff \-.*" +color body color142 color000 "^index [a-f0-9].*" +color body color142 color000 "^[\-]{3} .*" +color body color142 color000 "^[\+]{3} .*" +color body color112 color000 "^[\+][^\+]+.*" +color body color161 color000 "^\-[^\-]+.*" +color body color130 color233 "^@@ .*" +# ---------------------------------------------------------------------------- +# vim: set filetype=muttrc : +# ---------------------------------------------------------------------------- diff --git a/mutt/muttrc b/mutt/muttrc new file mode 100644 index 0000000..6132c76 --- /dev/null +++ b/mutt/muttrc @@ -0,0 +1,103 @@ +# 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/tmp # 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 + +# Sidebar Patch -------------------------------------- +set sidebar_delim = '│' +set sidebar_visible = yes +set sidebar_width = 40 +set sort_sidebar = unsorted + +set sort=reverse-threads +set sort_aux=last-date-received + +bind index,pager \ek sidebar-prev +bind index,pager \ej sidebar-next +bind index,pager \eo sidebar-open + +bind pager j next-line +bind pager k previous-line + +source ~/.mutt/colors + +set index_format="%4C %Z %?GI?%GI& ? %[%d/%b] %-16.15F %?M?(%3M)& ? %s %> %?g?%g?" + +# 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 )?───" + + +set spoolfile = "+victortoso/inbox" +set editor="vim -c 'set spell spelllang=en,pt-BR'" + +folder-hook victortoso/* source ~/.mutt/accounts/victortoso +folder-hook lists/* source ~/.mutt/accounts/lists +folder-hook spam/* source ~/.mutt/accounts/spam +folder-hook redhat/* source ~/.mutt/accounts/redhat + +# Mailboxes to show in the sidebar. +mailboxes \ +"+(me)----------------------------" \ +"+victortoso/inbox" \ +"+victortoso/family" \ +"+victortoso/fundation" \ +"+victortoso/fundation-list" \ +"+victortoso/gnome-soc" \ +"+victortoso/google-soc" \ +"+(redhat)------------------------" \ +"+redhat/inbox" \ +"+redhat/brno-list" \ +"+redhat/libosinfo" \ +"+redhat/memo-brno-list" \ +"+redhat/memo-list" \ +"+redhat/rhbz-rhel6" \ +"+redhat/rhbz-rhel7" \ +"+redhat/rhbz-rhelvm" \ +"+redhat/rh-desktop-staff-list" \ +"+redhat/rh-os-devel-list" \ +"+redhat/rh-spice-list" \ +"+redhat/rh-spice-team-list" \ +"+redhat/spice-devel" \ +"+(lists)-------------------------" \ +"+lists/inbox" \ +"+lists/spice-devel" \ +"+lists/virt-tools-list" \ +"+lists/dvb-daemon" \ +"+lists/gnome-boxes" \ +"+lists/gnome-games" \ +"+lists/grilo" \ +"+lists/gstreamer" \ +"+lists/libsoinfo" \ +"+lists/lua-l" \ +"+lists/patchwork" \ +"+lists/pulseaudio" \ +"+lists/qemu" \ +"+(bugzilla)----------------------" \ +"+bugzilla/inbox" \ +"+bugzilla/grilo" \ +"+bugzilla/gnome-boxes" \ +"+(spam)--------------------------" \ +"+spam/inbox" \ +"+spam/aliexpress" \ +"+spam/alza" \ +"+spam/ebay" diff --git a/mutt/tmp/.emptyfolder b/mutt/tmp/.emptyfolder new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/mutt/tmp/.emptyfolder |