mutt
This commit is contained in:
parent
8ab76ee10b
commit
0b3fd9bb30
4 changed files with 156 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -221,7 +221,6 @@ gtk-2.0/
|
|||
calcurse/keys
|
||||
khard/
|
||||
msmtp/
|
||||
mutt/
|
||||
.android/
|
||||
Android Open Source Project/
|
||||
Google/
|
||||
|
|
3
mutt/.gitignore
vendored
Normal file
3
mutt/.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
*
|
||||
!.gitignore
|
||||
!style.muttrc
|
151
mutt/style.muttrc
Normal file
151
mutt/style.muttrc
Normal file
|
@ -0,0 +1,151 @@
|
|||
# Nerd icons idea based on https://github.com/sheoak/neomutt-powerline-nerdfonts/
|
||||
# Dracula colors based on Dracula Theme by Paul Townsend <paul@caprica.org>
|
||||
|
||||
|
||||
# Formatting ----------------------------------------------------------------------
|
||||
set date_format = "%a %d %h %H:%M"
|
||||
set index_format=" %zt | %-35.35L %@attachment_info@ %?M10?~(%1M) ?%-30.100s %> %?Y?%Y ? %(!%I:%M%p %a %F)"
|
||||
set sidebar_format = '%D%?Z? [%Z]?%* [%?S?%S?]'
|
||||
|
||||
|
||||
# General Colors ------------------------------------------------------------------
|
||||
color normal default default # general text
|
||||
color error color231 color212 # error messages
|
||||
color message default default # messages at the bottom
|
||||
color prompt default default # prompt text
|
||||
color search black color10 # search highlight
|
||||
|
||||
|
||||
# Statusbar Colors ----------------------------------------------------------------
|
||||
color status color238 default
|
||||
color status yellow color8 '' # Flagged icon
|
||||
color status red color8 '' # Pending delete icon
|
||||
|
||||
|
||||
# Index Colors --------------------------------------------------------------------
|
||||
color index color15 default '~N' # new messages
|
||||
color index_author brightblue default "~N"
|
||||
color index_subject brightwhite black "~N"
|
||||
color index color242 default '~R' # read messages
|
||||
color index color242 default '~Q' # messages which have been replied to
|
||||
color index_collapsed color4 default # collapsed thread (message count text)
|
||||
color index color242 default '!~Q^~p' # sent only to me and haven't been replied to
|
||||
color index color22 default '~h X-Label..' # messages with a complete label
|
||||
color index color6 default '~F' # flagged messages
|
||||
color index color6 default '~F~N' # flagged messages (new)
|
||||
color index color14 default '~F~R' # flagged messages (read)
|
||||
color index color1 default '~D' # deleted messages
|
||||
color index color1 default '~D~N' # deleted messages (new)
|
||||
color index color9 default '~D~R' # deleted messages (read)
|
||||
color index color3 default '~T' # tagged messages
|
||||
color index color3 default '~T~N' # tagged messages (new)
|
||||
color index color11 default '~T~R' # tagged messages (read)
|
||||
color tree color8 color8 # thread tree lines/arrow
|
||||
color indicator default color235 # selection indicator
|
||||
color index_date color238 default # date is always the same colour
|
||||
color index_label color6 default # label is always the same colour
|
||||
|
||||
|
||||
# Sidebar Colors ------------------------------------------------------------------
|
||||
color sidebar_indicator color14 color235 # currently selected mailbox
|
||||
color sidebar_highlight color8 color237 # highlighted, but not open, mailbox.
|
||||
color sidebar_ordinary color238 default # Color to give mailboxes by default
|
||||
color sidebar_divider black black # divider between sidebar & content
|
||||
color sidebar_flagged red black # mailboxes containing flagged mail
|
||||
color sidebar_new green black # mailboxes containing new mail
|
||||
color sidebar_unread color7 default # mailboxes containing unread mail
|
||||
color sidebar_unread color7 default # mailboxes containing unread mail
|
||||
|
||||
|
||||
# Message Headers -----------------------------------------------------------------
|
||||
color hdrdefault color8 default
|
||||
|
||||
|
||||
# Message Body --------------------------------------------------------------------
|
||||
|
||||
# Attachments
|
||||
color attachment color8 default
|
||||
|
||||
# Signature
|
||||
color signature color8 default
|
||||
|
||||
# emails
|
||||
# color body color14 default '[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+'
|
||||
|
||||
# hide "mailto"
|
||||
color body color0 color0 '<mailto:[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+>'
|
||||
|
||||
# URLs
|
||||
color body color3 default '(https?|ftp)://[-\.,/%~_:?&=\#a-zA-Z0-9\+]+'
|
||||
|
||||
# Dividers
|
||||
color body color8 default '(^[-_]*$)'
|
||||
|
||||
# Important info in calendar invites
|
||||
color body color6 default '^(Date\/Time|Location|Organiser|Invitees|Teams Meeting)(:| \~\~)'
|
||||
|
||||
# Quotes
|
||||
color quoted color61 default
|
||||
color quoted1 color117 default
|
||||
color quoted2 color84 default
|
||||
color quoted3 color215 default
|
||||
color quoted4 color212 default
|
||||
|
||||
# Forward/reply headers
|
||||
color body color8 default '(^(To|From|Sent|Subject):.*)'
|
||||
|
||||
# Patch syntax highlighting
|
||||
# color body brightwhite default '^[[:space:]].*'
|
||||
# color body yellow default ^(diff).*
|
||||
# color body white default ^[\-\-\-].*
|
||||
# color body white default ^[\+\+\+].*
|
||||
# color body green default ^[\+].*
|
||||
# color body red default ^[\-].*
|
||||
# color body brightblue default [@@].*
|
||||
# color body cyan default ^(Signed-off-by).*
|
||||
# color body brightwhite default ^(Cc)
|
||||
# color body yellow default "^diff \-.*"
|
||||
# color body brightwhite default "^index [a-f0-9].*"
|
||||
# color body brightblue default "^---$"
|
||||
# color body white default "^\-\-\- .*"
|
||||
# color body white default "^[\+]{3} .*"
|
||||
# color body green default "^[\+][^\+]+.*"
|
||||
# color body red default "^\-[^\-]+.*"
|
||||
# color body brightblue default "^@@ .*"
|
||||
# color body green default "LGTM"
|
||||
# color body brightmagenta default "-- Commit Summary --"
|
||||
# color body brightmagenta default "-- File Changes --"
|
||||
# color body brightmagenta default "-- Patch Links --"
|
||||
# color body green default "^Merged #.*"
|
||||
# color body red default "^Closed #.*"
|
||||
# color body brightblue default "^Reply to this email.*"
|
||||
|
||||
|
||||
# Misc -----------------------------------------------------------------------------
|
||||
|
||||
# no addressed to me, to me, group, cc, sent by me, mailing list
|
||||
set to_chars=" "
|
||||
|
||||
# unchanged mailbox, changed, read only, attach mode
|
||||
set status_chars = " "
|
||||
ifdef crypt_chars set crypt_chars = " "
|
||||
set flag_chars = " "
|
||||
|
||||
# hide some tags
|
||||
set hidden_tags = "unread,draft,flagged,passed,replied,attachment,signed,encrypted"
|
||||
tag-transforms "replied" "↻ " \
|
||||
"encrytpted" "" \
|
||||
"signed" "" \
|
||||
"attachment" "" \
|
||||
|
||||
# The formats must start with 'G' and the entire sequence is case sensitive.
|
||||
tag-formats "replied" "GR" \
|
||||
"encrypted" "GE" \
|
||||
"signed" "GS" \
|
||||
"attachment" "GA" \
|
||||
|
||||
# don't put '+' at the beginning of wrapped lines
|
||||
set markers=no
|
||||
unset help
|
||||
color index_author color242 default '.*'
|
||||
color index_subject color242 default '.*'
|
|
@ -24,7 +24,7 @@ export \
|
|||
WGETRC="$HOME/.config/wget/wgetrc" \
|
||||
GNUPGHOME="$XDG_DATA_HOME/gnupg" \
|
||||
GOPATH="$XDG_DATA_HOME/go" \
|
||||
|
||||
|
||||
alias wget="wget --hsts-file=$XDG_DATA_HOME/wget/wget-hsts"
|
||||
|
||||
export \
|
||||
|
@ -36,6 +36,7 @@ export \
|
|||
|
||||
export \
|
||||
TERM="xterm-256color" \
|
||||
BROWSER="firefox" \
|
||||
EDITOR="nvim" \
|
||||
VISUAL="nvim" \
|
||||
|
||||
|
|
Loading…
Reference in a new issue