summaryrefslogtreecommitdiffstats
path: root/mutt/.mutt
diff options
context:
space:
mode:
Diffstat (limited to 'mutt/.mutt')
-rw-r--r--mutt/.mutt/colors42
-rw-r--r--mutt/.mutt/mailboxes1
-rw-r--r--mutt/.mutt/mailcap4
-rw-r--r--mutt/.mutt/muttrc109
m---------mutt/.mutt/scripts0
5 files changed, 156 insertions, 0 deletions
diff --git a/mutt/.mutt/colors b/mutt/.mutt/colors
new file mode 100644
index 0000000..9e7586b
--- /dev/null
+++ b/mutt/.mutt/colors
@@ -0,0 +1,42 @@
+# general-doesn't-fit stuff
+color normal color254 default
+color error color193 color124
+color markers color142 default
+color tilde color142 default
+color status color33 default
+color sidebar_new brightcolor221 default
+
+# index stuff
+color tree cyan default
+color indicator color255 color237
+color index color221 default ~N
+color index color124 default ~D
+
+# header stuff
+color hdrdefault color244 default
+color header brightcolor221 default "^Subject"
+
+# url, email and web stuff
+color body color68 default "(finger|ftp|http|https|news|telnet)://[^ >]*"
+color body color111 default "<URL:[^ ]*>"
+color body color111 default "www\\.[-.a-z0-9]+\\.[a-z][a-z][a-z]?([-_./~a-z0-9]+)?"
+color body color111 default "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
+color body color244 default "^-+"
+color body brightwhite default "^diff .*"
+color body brightyellow default "^@@.*"
+
+# misc body stuff
+color attachment color111 default
+color signature color244 default
+
+# quote levels
+color quoted color34 default
+color quoted1 color142 default
+color quoted2 color34 default
+color quoted3 color142 default
+color quoted4 color34 default
+color quoted5 color142 default
+color quoted6 color34 default
+color quoted7 color142 default
+color quoted8 color34 default
+color quoted9 color142 default
diff --git a/mutt/.mutt/mailboxes b/mutt/.mutt/mailboxes
new file mode 100644
index 0000000..1ccf028
--- /dev/null
+++ b/mutt/.mutt/mailboxes
@@ -0,0 +1 @@
+mailboxes "+Gmail/INBOX" "+Gmail/[Gmail].Sent Mail" "+Gmail/Archives" "+Gmail/famille" "+Gmail/Call log" "+Gmail/SMS" "+Gmail/[Gmail].Chats" "+Gmail/[Gmail].Drafts" "+Gmail/[Gmail].Spam" "+Gmail/[Gmail].Trash" "+Gmail/accounts" "+Gmail/alias" "+Gmail/am221" "+Gmail/amazon" "+Gmail/caml" "+Gmail/econcs" "+Gmail/gsoc" "+Gmail/hcmc" "+Gmail/inria" "+Gmail/keys" "+Gmail/mediawiki" "+Gmail/mediawikidev" "+Gmail/paydivvy" "+Gmail/pentagone" "+Gmail/racesow" "+Gmail/saclay" "+Gmail/travail" "+Gmail/travel" "+Gmail/notmuch" "+Gmail/pass" "~/.mutt/cache/search"
diff --git a/mutt/.mutt/mailcap b/mutt/.mutt/mailcap
new file mode 100644
index 0000000..cfeaf28
--- /dev/null
+++ b/mutt/.mutt/mailcap
@@ -0,0 +1,4 @@
+text/html; ~/.mutt/scripts/attach.py %s; needsterminal;
+text/html; w3m -I %{charset} -T text/html; copiousoutput;
+application/*; ~/.mutt/scripts/attach.py %s
+image/*; ~/.mutt/scripts/attach.py %s
diff --git a/mutt/.mutt/muttrc b/mutt/.mutt/muttrc
new file mode 100644
index 0000000..ca01c52
--- /dev/null
+++ b/mutt/.mutt/muttrc
@@ -0,0 +1,109 @@
+# general settings
+set folder=/media/data/mail
+set mbox_type=Maildir
+set spoolfile=+Gmail/INBOX
+set mbox=+Gmail/Archives
+set tmpdir=~/.mutt/temp
+set mailcap_path=~/.mutt/mailcap
+set message_cachedir=~/.mutt/cache
+set header_cache=~/.mutt/cache
+set timeout = 5
+unset wait_key
+set pipe_decode
+
+# index settings
+set sort=threads
+set delete
+set sort_aux = reverse-last-date-received
+set index_format = "[%?X?*& ?%Z] %?M?[+]& ? %s %* %-20.20F %D"
+set date_format = "!%a %b %d %I:%M%P"
+folder-hook * "exec collapse-all"
+folder-hook * set sort = threads
+folder-hook "Sent Mail" set sort=reverse-date
+unset mark_old
+unset move
+set status_format = "───────[ Folder: %f (%l)]───[ %r%M messages%?V? (%V)?%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]───%>─%?p?( %p postponed )?───[%P]───"
+unset confirmappend
+unset collapse_unread
+set menu_scroll
+set beep_new
+
+# pager settings
+set pager_index_lines = 20
+set pager_context = 3
+set pager_stop
+unset markers
+auto_view text/html
+alternative_order text/plain text/enriched text/html
+set pager_format = "───[%Z]───[%C/%m]%*─[%P]───"
+set reflow_text
+
+
+# sidebar settings
+set sidebar_delim = ' │'
+set sidebar_visible = yes
+set sidebar_width = 24
+
+# compose
+set from="thibaut.horel@gmail.com"
+set realname="Thibaut Horel"
+alternates "^thorel@seas\\.harvard\\.edu$" "^zaran\\.krleza@gmail\\.com$"
+unset record
+set sendmail = "/usr/bin/msmtp"
+set use_envelope_from
+set edit_headers
+set fast_reply
+set reverse_name
+set editor = "gvim -f"
+unset abort_nosubject
+set include
+set text_flowed
+set query_command = "goobook query '%s'"
+set forward_format = "Fwd: %s"
+
+#gpg
+set pgp_use_gpg_agent
+set pgp_auto_decode
+set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f"
+set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
+set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f"
+set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
+set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"
+set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0x11A87736 -- -r %r -- %f"
+set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0xC9C40C31 -- -r %r -- %f"
+set pgp_import_command="gpg --no-verbose --import -v %f"
+set pgp_export_command="gpg --no-verbose --export --armor %r"
+set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r"
+set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r"
+set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r"
+
+# macros, shortcuts
+macro index,pager A "<tag-prefix><save-message>+Gmail/Archives<enter>" "move message to the archive"
+bind index,pager <down> sidebar-next
+bind index,pager <up> sidebar-prev
+bind index,pager <right> sidebar-open
+bind index <space> collapse-thread
+macro index,pager d A
+macro index,pager D A
+bind index,pager ] half-down
+bind index,pager [ half-up
+bind index,pager \cd half-down
+bind index,pager \cu half-up
+bind editor <Tab> complete-query
+bind compose f edit-from
+macro pager <f1> "<enter-command>set display_filter=\"~/.mutt/scripts/filter.py\"<enter><Exit><display-message><enter-command>unset display_filter<enter>" "Reflow formatting"
+macro index,pager <F8> \
+"<enter-command>set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key<enter>\
+<shell-escape>~/.mutt/scripts/mutt-notmuch.py ~/.mutt/cache/search search<enter>\
+<change-folder-readonly>`echo ${HOME}/.mutt/cache/search`<enter>\
+<enter-command>set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key<enter>" \
+ "notmuch: search mail"
+macro index,pager <F9> \
+"<enter-command>set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key<enter>\
+<pipe-message>~/.mutt/scripts/mutt-notmuch.py ~/.mutt/cache/search thread<enter>\
+<change-folder-readonly>`echo ${HOME}/.mutt/cache/search`<enter>\
+<enter-command>set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key<enter>" \
+ "notmuch: reconstruct thread"
+
+source ~/.mutt/colors
+source ~/.mutt/mailboxes
diff --git a/mutt/.mutt/scripts b/mutt/.mutt/scripts
new file mode 160000
+Subproject 270b47a9ef0624954b0f962b90d7c7aa089439a