Files
dotfiles/laptop/.config/neomutt/neomuttrc
Rob Harbaugh a0abf9705f Initial dotfiles commit
Laptop config: zsh, emacs (with WSL detection for work), ghostty, tmux, ranger,
newsboat, neomutt + mbsync + msmtp (Outlook OAuth2), neomutt signature.
Work config: emacs with C#/TS/JS/CSS/HTML dev settings for WSL.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 14:39:23 -04:00

91 lines
3.1 KiB
Plaintext

# neomuttrc — Catppuccin Mocha
# Account-specific config (mailboxes, IMAP, SMTP) goes in a separate sourced file.
source ~/.config/neomutt/accounts/personal
# Editor
set editor = "emacsclient -c"
# Reading
set pager_stop # don't advance to next message at end of pager
set markers = no # no + marker on wrapped lines
set mark_old = no # unread is unread until explicitly read
set mime_forward = yes
set forward_format = "Fwd: %s"
set forward_quote
set fast_reply # skip to compose when replying
# Sorting
set sort = threads
set sort_aux = reverse-last-date-received
set uncollapse_jump
# Sidebar
set sidebar_visible = yes
set sidebar_width = 28
set sidebar_format = "%B%* %?N?%N/?%S"
set mail_check_stats
# Pager
set pager_index_lines = 10 # show index at top of pager
alternative_order text/plain text/enriched text/html
auto_view text/html
# notmuch integration
set nm_default_url = "notmuch:////$HOME/mail"
# Colors — Catppuccin Mocha
# Palette reference (256-color):
# base=235 mantle=234 surface0=237 surface1=238 surface2=240
# overlay0=242 text=189 subtext1=182 blue=111 green=150
# yellow=223 red=211 mauve=183 teal=116 peach=216 lavender=147
# Normal text
color normal color189 color235
color error bold color211 color235
color tilde color242 color235
color message color223 color235
color markers bold color216 color235
color attachment color183 color235
color search bold color235 color183
color status bold color189 color237
color indicator bold color235 color111
color tree color111 color235
# Header
color hdrdefault color182 color235
color header bold color111 color235 "^(From|To|Cc|Bcc):"
color header bold color183 color235 "^Subject:"
color header color116 color235 "^Date:"
# Index
color index color189 color235 "~A" # all
color index bold color111 color235 "~N" # new
color index color150 color235 "~P" # from me
color index color211 color235 "~D" # deleted
color index color242 color235 "~R" # read
color index color223 color235 "~F" # flagged
color index bold color183 color235 "~T" # tagged
# Sidebar
color sidebar_ordinary color182 color235
color sidebar_new bold color111 color235
color sidebar_unread color111 color235
color sidebar_flagged bold color223 color235
color sidebar_highlight bold color235 color111
color sidebar_indicator bold color235 color183
color sidebar_divider color238 color235
# Quote levels
color quoted color111 color235
color quoted1 color183 color235
color quoted2 color150 color235
color quoted3 color116 color235
color quoted4 color223 color235
# URLs
color body underline color111 color235 "(https?|ftp)://[^ >]*"
color body underline color111 color235 "<[^ ]+@[^ ]+>"
# Sidebar toggle
bind index,pager B sidebar-toggle-visible