From 0749b67fbf4bcffda1ad75d9d343dfc753faf706 Mon Sep 17 00:00:00 2001 From: "Anna (navi) Figueiredo Gomes" Date: Mon, 20 Feb 2023 18:50:46 -0300 Subject: add neomuttrc Signed-off-by: Anna (navi) Figueiredo Gomes --- .config/neomutt/alias | 1 + .config/neomutt/colors | 30 +++++++++++++++++++++++++++ .config/neomutt/keybinds | 28 +++++++++++++++++++++++++ .config/neomutt/neomuttrc | 4 ++++ .config/neomutt/options | 52 +++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 115 insertions(+) create mode 100644 .config/neomutt/alias create mode 100644 .config/neomutt/colors create mode 100644 .config/neomutt/keybinds create mode 100644 .config/neomutt/neomuttrc create mode 100644 .config/neomutt/options 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 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 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" -- cgit v1.2.3