Add color for mailboxes containing importnant messages and fix some colors
This commit is contained in:
parent
6a31442317
commit
f7f60ff748
27
.mailcap
27
.mailcap
@ -1,5 +1,22 @@
|
|||||||
application/msword; antiword '%s'; copiousoutput; description=Word Document;
|
# mailcap - MIME configuration file
|
||||||
nametemplate=%s.doc
|
|
||||||
application/pdf; pdftotext '%s' -; copiousoutput; description=PDF Document;
|
text/html; w3m %s; nametemplate=%s.html
|
||||||
nametemplate=%s.pdf
|
text/html; w3m -dump %s; nametemplate=%s.html; \
|
||||||
text/html; lynx %s
|
copiousoutput
|
||||||
|
text/*; cat; copiousoutput; edit=$VISUAL %s
|
||||||
|
message/rfc822; cat; copiousoutput; edit=$VISUAL %s
|
||||||
|
|
||||||
|
application/msword; word2text %s; copiousoutput
|
||||||
|
application/vnd.msword; word2text %s; copiousoutput
|
||||||
|
application/excel; excel2text %s; copiousoutput
|
||||||
|
application/msexcel; excel2text %s; copiousoutput
|
||||||
|
application/vnd.ms-excel; excel2text %s; copiousoutput
|
||||||
|
application/x-excel; excel2text %s; copiousoutput
|
||||||
|
application/x-msexcel; excel2text %s; copiousoutput
|
||||||
|
application/ms-Excel; excel2text %s; copiousoutput
|
||||||
|
application/vnd.ms-powerpoint; ppt2text %s; copiousoutput
|
||||||
|
application/x-mspowerpoint; ppt2text %s; copiousoutput
|
||||||
|
application/ppt; ppt2text %s; copiousoutput
|
||||||
|
application/pdf; pdftotext %s -; copiousoutput
|
||||||
|
application/rtf; rtf2text %s; copiousoutput
|
||||||
|
application/ms-tnef; tnef -w %s
|
||||||
|
49
.muttrc
49
.muttrc
@ -26,16 +26,30 @@ set sidebar_width=25
|
|||||||
set sidebar_visible=yes
|
set sidebar_visible=yes
|
||||||
set sidebar_sort=yes
|
set sidebar_sort=yes
|
||||||
|
|
||||||
mailboxes ! `echo -n "+ "; find ~/.mail -maxdepth 1 -type d -name ".*" -printf "+'%f' "`
|
mailboxes ! `find ~/.mail -maxdepth 1 -type d -name ".*" -printf "+'%f' "`
|
||||||
|
|
||||||
macro index c "<change-folder>?<toggle-mailboxes>" "open a different folder"
|
macro index c "<change-folder>?<toggle-mailboxes>" "open a different folder"
|
||||||
macro pager c "<change-folder>?<toggle-mailboxes>" "open a different folder"
|
macro pager c "<change-folder>?<toggle-mailboxes>" "open a different folder"
|
||||||
|
|
||||||
macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
|
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"
|
macro index M "<save-message>?<toggle-mailboxes>" "move a message to a mailbox"
|
||||||
|
macro pager C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
|
||||||
|
macro pager M "<save-message>?<toggle-mailboxes>" "move a message to a mailbox"
|
||||||
|
|
||||||
macro compose A "<attach-message>?" "attach message(s) to this message"
|
macro compose A "<attach-message>?" "attach message(s) to this message"
|
||||||
|
|
||||||
|
#GPG
|
||||||
|
set fcc_clear # Keep fcc's clear of signatues and encryption.
|
||||||
|
#source ~/.mutt/gpg.rc
|
||||||
|
set pgp_sign_as="0x6FDD4F15"
|
||||||
|
|
||||||
|
set pgp_replysign
|
||||||
|
set pgp_replyencrypt
|
||||||
|
set pgp_verify_sig=yes
|
||||||
|
set pgp_strict_enc
|
||||||
|
|
||||||
|
set send_charset="us-ascii:utf-8"
|
||||||
|
|
||||||
#
|
#
|
||||||
set header_cache = ~/.mutt/cache
|
set header_cache = ~/.mutt/cache
|
||||||
set header_cache_pagesize = 32768
|
set header_cache_pagesize = 32768
|
||||||
@ -87,14 +101,14 @@ set pager_stop
|
|||||||
color normal white black
|
color normal white black
|
||||||
color message white black
|
color message white black
|
||||||
color signature magenta default
|
color signature magenta default
|
||||||
color hdrdefault cyan black
|
color hdrdefault cyan default
|
||||||
color attachment yellow black
|
color attachment yellow default
|
||||||
color status brightblack cyan
|
color status brightblack cyan
|
||||||
color search brightwhite magenta
|
color search brightwhite magenta
|
||||||
color bold brightyellow default
|
color bold brightyellow default
|
||||||
color tilde brightblue default # ``~'' used to pad blank lines
|
color tilde brightblue default # ``~'' used to pad blank lines
|
||||||
color tree brightwhite default # thread tree in the index menu
|
color tree brightwhite default # thread tree in the index menu
|
||||||
color body brightblue default "(git|ftp|http)s?://[^ ]+" # point out URLs
|
color body brightblue default "(git|ssh|ftp|http)s?://[^ ]+" # point out URLs
|
||||||
color body brightblue default [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses
|
color body brightblue default [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses
|
||||||
|
|
||||||
|
|
||||||
@ -103,17 +117,17 @@ color body brightblue default [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses
|
|||||||
# =====================================================================
|
# =====================================================================
|
||||||
|
|
||||||
# Messages already replied to in cyan
|
# Messages already replied to in cyan
|
||||||
color index cyan black "~Q"
|
color index cyan default "~Q"
|
||||||
|
|
||||||
# Unread messages in yellow
|
# Unread messages in yellow
|
||||||
color index brightyellow black "~N"
|
color index brightyellow default "~N"
|
||||||
color index brightyellow black "~O"
|
color index brightyellow default "~O"
|
||||||
|
|
||||||
# Deleted messages in a dark color
|
# Deleted messages in a dark color
|
||||||
color index blue black "~D"
|
color index blue default "~D"
|
||||||
|
|
||||||
# Flagged messages in red
|
# Flagged messages in red
|
||||||
color index brightred black "~F"
|
color index brightred default "~F"
|
||||||
|
|
||||||
|
|
||||||
# =====================================================================
|
# =====================================================================
|
||||||
@ -121,9 +135,9 @@ color index brightred black "~F"
|
|||||||
# =====================================================================
|
# =====================================================================
|
||||||
|
|
||||||
# Color information about the sender
|
# Color information about the sender
|
||||||
color header brightcyan black "From: "
|
color header brightcyan default "From: "
|
||||||
color header brightcyan black "Subject: "
|
color header brightcyan default "Subject: "
|
||||||
color header brightcyan black "date: "
|
color header brightcyan default "Date: "
|
||||||
|
|
||||||
|
|
||||||
# =====================================================================
|
# =====================================================================
|
||||||
@ -131,13 +145,14 @@ color header brightcyan black "date: "
|
|||||||
# =====================================================================
|
# =====================================================================
|
||||||
|
|
||||||
# Color the first levels of quoted text
|
# Color the first levels of quoted text
|
||||||
color quoted green black
|
color quoted green default
|
||||||
color quoted1 cyan black
|
color quoted1 cyan default
|
||||||
color quoted2 green black
|
color quoted2 green default
|
||||||
color quoted3 cyan black
|
color quoted3 cyan default
|
||||||
|
|
||||||
# Sidebar colors
|
# Sidebar colors
|
||||||
color sidebar_new yellow default
|
color sidebar_new yellow default
|
||||||
|
color sidebar_flagged brightred default
|
||||||
|
|
||||||
bind index,pager \CP sidebar-scroll-up
|
bind index,pager \CP sidebar-scroll-up
|
||||||
#bind index,pager \CI sidebar-scroll-down
|
#bind index,pager \CI sidebar-scroll-down
|
||||||
|
Loading…
x
Reference in New Issue
Block a user