summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2023-02-20 18:50:46 -0300
committerAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2023-02-20 18:50:46 -0300
commit0749b67fbf4bcffda1ad75d9d343dfc753faf706 (patch)
tree9571ac2fa723cadce18a228cb5645e6128cbe3ea
add neomuttrc
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
-rw-r--r--.config/neomutt/alias1
-rw-r--r--.config/neomutt/colors30
-rw-r--r--.config/neomutt/keybinds28
-rw-r--r--.config/neomutt/neomuttrc4
-rw-r--r--.config/neomutt/options52
5 files changed, 115 insertions, 0 deletions
diff --git a/.config/neomutt/alias b/.config/neomutt/alias
new file mode 100644
index 0000000..40db4d5
--- /dev/null
+++ b/.config/neomutt/alias
@@ -0,0 +1 @@
+alias martha martha <contact@martha.link>
diff --git a/.config/neomutt/colors b/.config/neomutt/colors
new file mode 100644
index 0000000..3a83cb0
--- /dev/null
+++ b/.config/neomutt/colors
@@ -0,0 +1,30 @@
+# vim: ft=neomuttrc
+color error red default
+color normal default default
+color message default default
+color prompt default default
+
+color index default default .*
+color index_author cyan default .*
+color index_number magenta default
+color index_subject blue default .*
+
+color index brightdefault default ~N
+color index_author brightcyan default ~N
+color index_subject brightblue default ~N
+
+color hdrdefault brightmagenta default
+color header brightblue default ^Subject:
+
+color body blue default [\-\.+_a-zA-Z0-9]+@[\-\.+_a-zA-Z0-9]+ color body magenta default (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+
+color body brightdefault default (^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$)
+color body brightdefault default (^|[[:space:]])_[^[:space:]]+_([[:space:]]|$)
+color body brightdefault default (^|[[:space:]])/[^[:space:]]+/([[:space:]]|$)
+color signature brightdefault default
+
+# Selected message
+color indicator black brightmagenta
+
+color status brightmagenta default
+
+color attachment brightred default
diff --git a/.config/neomutt/keybinds b/.config/neomutt/keybinds
new file mode 100644
index 0000000..532ec32
--- /dev/null
+++ b/.config/neomutt/keybinds
@@ -0,0 +1,28 @@
+# vi: ft=neomuttrc
+
+bind index \Cr imap-fetch-mail
+bind index g noop
+bind index gg first-entry
+bind index G last-entry
+bind index,pager \Ck sidebar-prev
+bind index,pager \Cj sidebar-next
+bind index,pager \Co sidebar-open
+bind index,pager \Cp sidebar-prev-new
+bind index,pager \Cn sidebar-next-new
+bind pager k previous-line
+bind pager j next-line
+
+bind index h noop
+bind index l display-message
+
+bind pager,attach h exit
+
+bind browser h goto-parent
+bind browser l select-entry
+
+bind pager,browser gg top-page
+bind pager,browser G bottom-page
+bind pager,browser d half-down
+bind pager,browser u half-up
+bind index,pager R group-reply
+bind editor <Tab> complete-query
diff --git a/.config/neomutt/neomuttrc b/.config/neomutt/neomuttrc
new file mode 100644
index 0000000..53f896d
--- /dev/null
+++ b/.config/neomutt/neomuttrc
@@ -0,0 +1,4 @@
+source colors
+source keybinds
+source options
+source alias
diff --git a/.config/neomutt/options b/.config/neomutt/options
new file mode 100644
index 0000000..b94706b
--- /dev/null
+++ b/.config/neomutt/options
@@ -0,0 +1,52 @@
+# vi: ft=neomuttrc
+set realname = "Anna"
+
+set from="navi@vlhl.dev"
+
+set folder = "imaps://navi@mail.vlhl.dev:993"
+set smtp_url = "smtps://navi@mail.vlhl.dev:465"
+
+set mbox_type=Maildir
+
+set spoolfile = "+Inbox"
+set record = "+Sent"
+set trash = "+Trash"
+set postponed = "+Drafts"
+
+set smtp_authenticators = "login"
+set smtp_pass = `pass navi@vlhl.dev`
+set imap_check_subscribed
+set imap_pass = `pass navi@vlhl.dev`
+
+set pgp_default_key = "navi@vlhl.dev"
+set crypt_auto_sign = yes
+set crypt_verify_sig = yes
+set crypt_reply_sign = yes
+set crypt_use_gpgme = yes
+
+set pager_index_lines = 5
+set pager_context = 3
+set pager_stop = yes
+set menu_scroll = yes
+
+set status_format = "[ %f ]%>─[%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)?%?p? (%p postponed)? ]"
+set status_chars = " *%A"
+
+set help = no
+
+set sidebar_visible = yes
+set sidebar_width = 25
+set sidebar_format = '%D%?N? (%N)?%* %S'
+set sidebar_folder_indent = yes
+set sidebar_next_new_wrap = yes
+set sidebar_short_path = yes
+set sidebar_indent_string = " > "
+set sidebar_sort_method = path
+
+auto_view text/html text/calendar application/ics
+alternative_order text/plain text/enriched text/html text/*
+set fast_reply
+set fcc_attach
+set reply_to
+
+set alias_file="~/.config/neomutt/alias"