aboutsummaryrefslogtreecommitdiffstats
path: root/.config/neomutt
diff options
context:
space:
mode:
Diffstat (limited to '.config/neomutt')
-rw-r--r--.config/neomutt/neomuttrc50
-rw-r--r--.config/neomutt/nord.mutt42
2 files changed, 92 insertions, 0 deletions
diff --git a/.config/neomutt/neomuttrc b/.config/neomutt/neomuttrc
new file mode 100644
index 0000000..58eeeae
--- /dev/null
+++ b/.config/neomutt/neomuttrc
@@ -0,0 +1,50 @@
+# Copyright (c) 2021 Cameron Katri
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+# SUCH DAMAGE.
+#
+
+source ~/.config/neomutt/passwords.mutt
+source ~/.config/neomutt/nord.mutt
+
+set smtp_authenticators="plain"
+
+set from="Cameron Katri <me@cameronkatri.com>"
+set edit_headers=yes
+
+set spoolfile=+INBOX
+set record="=Sent"
+set postponed="=Drafts"
+
+set imap_check_subscribed
+set sort=reverse-date-sent
+
+bind index G imap-fetch-mail
+
+set sidebar_visible
+set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
+set mail_check_stats
+bind index,pager \CP sidebar-prev
+bind index,pager \CN sidebar-next
+bind index,pager \CO sidebar-open
+
+# vim: syntax=neomuttrc
diff --git a/.config/neomutt/nord.mutt b/.config/neomutt/nord.mutt
new file mode 100644
index 0000000..5b8f152
--- /dev/null
+++ b/.config/neomutt/nord.mutt
@@ -0,0 +1,42 @@
+# mutt color scheme
+# https://gitlab.uni-oldenburg.de/fili6799/dotfiles/
+
+color normal default default # default colours
+color index brightblue default ~N # new messages
+color index red default ~F # flagged messages
+color index blue default ~T # tagged messages
+color index cyan default ~D # deleted messages
+color body brightyellow default (https?|ftp)://[\-\.+,/%~_:?&=\#a-zA-Z0-9]+
+color body brightgreen default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+
+color attachment magenta default # attachments
+color signature brightwhite default # sigs
+color search brightred black # highlight results
+
+color indicator brightyellow default # currently highlighted message
+color error red default # error messages
+color status white cyan # status line
+color tree brightblack default # thread tree
+color tilde cyan default # blank line padding
+
+color hdrdefault black cyan # default headers
+color header brightwhite cyan "^From:"
+color header brightwhite cyan "^Subject:"
+
+color quoted cyan default # quote colours
+color quoted1 brightcyan default
+color quoted2 blue default
+color quoted3 green default
+color quoted4 yellow default
+color quoted5 red default
+
+color body green default "^gpg: Good signature from"
+color body brightred default "^gpg: Bad signature from"
+color body brightred default "^gpg: BAD signature from"
+color body brightred default "^gpg: Note: This key has expired!"
+color body brightyellow default "^gpg: WARNING: This key is not certified with a trusted signature!"
+color body brightyellow default "^gpg: There is no indication that the signature belongs to the owner."
+color body brightyellow default "^gpg: can't handle these multiple signatures"
+color body brightyellow default "^gpg: signature verification suppressed"
+color body brightyellow default "^gpg: invalid node with packet of type"
+
+# vim: syntax=neomuttrc