aboutsummaryrefslogtreecommitdiff
path: root/home/dot_config/neomutt
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2026-08-02 14:48:29 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2026-08-02 14:48:29 +0200
commite43eb1177872f52e949fb5f0f93396ed94b0d093 (patch)
tree78b73af6a989fa2996d71b112e161b70d35081ef /home/dot_config/neomutt
parent2f14a896e4b897bd747c24d7ad8e9e7bb3237d03 (diff)
move to chezmoi
Diffstat (limited to 'home/dot_config/neomutt')
-rw-r--r--home/dot_config/neomutt/neomuttrc82
1 files changed, 82 insertions, 0 deletions
diff --git a/home/dot_config/neomutt/neomuttrc b/home/dot_config/neomutt/neomuttrc
new file mode 100644
index 0000000..af63b3f
--- /dev/null
+++ b/home/dot_config/neomutt/neomuttrc
@@ -0,0 +1,82 @@
+# name
+set real_name = "Loek Le Blansch"
+set from = "loek@pipeframe.xyz"
+
+# e-mail server
+set folder = "~/docs/mail/pipeframe/"
+set spool_file = "+Inbox"
+set record = "+Sent"
+set trash = "+Trash"
+set postponed = "+Drafts"
+
+# credentials
+set imap_user = "loek"
+set imap_pass = "$(pass srv/wipper/passwd/loek)"
+set smtp_pass = "$imap_pass"
+set smtp_url = "smtp://$imap_user@mail.pipeframe.xyz:587"
+set smtp_authenticators = 'login'
+set ssl_starttls = yes
+set ssl_force_tls = yes
+
+# automatically refresh incoming mail
+set mail_check = 60
+set wait_key = no
+push "<shell-escape> systemctl --user start mbsync & <enter>"
+
+# mailboxes
+mailboxes +Inbox +Drafts +Junk +Sent +Trash +Archive
+
+# open files
+set mailcap_path = "$XDG_CONFIG_HOME/mailcap"
+
+# keybinds (more vim-like than default)
+macro index,pager a "<save-message>+Archive<enter>" "Archive Message" # archive
+bind index,pager n search-next # next search match
+bind index,pager N search-opposite # previous search match
+bind generic,index g noop # clear immediate action of `g` (required for `gg`)
+bind generic,index gg first-entry # goto top of index
+bind generic,index G last-entry # goto bottom of index
+bind index \Cu previous-page # page up
+bind index \Cd next-page # page down
+bind attach <return> view-mailcap # always use mailcap to view attachments
+
+# miscellaneous options
+set fast_reply = yes
+set confirm_append = no
+set delete = yes
+set include = yes
+set sort = threads
+set header_cache = "$XDG_CACHE_HOME/neomutt/hcache"
+set edit_headers
+set auto_edit = yes
+set mime_type_query_command = "xdg-mime query filetype"
+unset prompt_after
+
+# format strings
+set status_format = "%D %> %P "
+set folder_format = "%i"
+set index_format = " %Z %[%m月%d日] %-15.15L %s "
+set browser_abbreviate_mailboxes = yes
+
+# external programs
+set editor = "$EDITOR"
+# set pager = "less"
+set sendmail = "/usr/bin/msmtp"
+
+# colors
+color indicator reverse default default # selection
+color index none white default # all other mail
+color index bold default default "~N|~O" # new/unopened mail
+uncolor status
+uncolor tree
+uncolor search
+color hdrdefault blue default
+color quoted blue black
+color signature blue black
+color attachment brightblack default
+color prompt brightmagenta black
+color message brightred default
+color error brightred black
+color markers red black
+color tilde brightmagenta black
+