Skip to content

Instantly share code, notes, and snippets.

@achilleas-k
Created November 27, 2024 10:14
Show Gist options
  • Save achilleas-k/45d6e4a6f0b70a501f12e3fda7c40507 to your computer and use it in GitHub Desktop.
Save achilleas-k/45d6e4a6f0b70a501f12e3fda7c40507 to your computer and use it in GitHub Desktop.
# MY VARS
set my_confdir = ~/.config/neomutt
set my_cachedir = ~/.cache/neomutt
set my_mailcache = ~/mail
# GLOBAL / GENERAL
set mailcap_path = $my_confdir/mailcap
alternative_order text/enriched text/plain text
auto_view text/html
set reflow_text = yes
set reflow_wrap = 78
set wrap = -10
set pager_stop = yes
hdr_order From: To: Cc: Date: Subject:
set sort = threads
set sort_aux = last-date
set sort_alias = unsorted
set collapse_unread = yes
set uncollapse_new = no
set markers = no
set mark_old = no
set fast_reply = yes
set edit_headers = yes
# prompt before quitting (default yes)
set quit = ask-yes
# delete (move to trash) without prompting on sync-mailbox
set delete = yes
# move messages to new mailbox without prompting on sync-mailbox
set confirm_append = no
## advance to next message when making a change (delete, tag, etc)
set resolve = yes
## applies functions to tagged messages if any
set auto_tag = yes
set editor = vim
set save_history = 100
set history_file = $my_cachedir/mutthistory
## threading
set hide_thread_subject = no
set hide_missing = no
set narrow_tree = no
## don't wait for shell commands
set wait_key = no
## pipe decoded message to external commands
set pipe_decode = yes
## ask for forward type every time (inline or attached)
set mime_forward = ask-no
# IMAP Common
set imap_check_subscribed = yes
set header_cache = $my_cachedir
set message_cachedir = $my_cachedir
unset imap_passive
set imap_keepalive = 300
set mail_check = 5
# APPEARANCE
set index_format = "%5C %?X?πŸ“Ž& ?%Z %-30.30L %3M%?M?➀& ? %s %* Β· %-30.30t [%(%Y-%m-%d %H:%M)]"
set status_format = "[%r] [%D] [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]β€”%>β€”[%s/%S]β€”β€”β€”[%P]β€”β€”β€”"
set help = no
set menu_scroll
set search_context = 5
set menu_context = 3
set menu_move_off = no
set pager_context = 3
set pager_index_lines = 15
set pager_skip_quoted_context = 5
set toggle_quoted_show_levels = 1
set ts_enabled = yes # terminal title
set ts_status_format = "%D [%n/%m]"
# HOOKS
folder-hook . "exec collapse-all"
# NOTMUCH
set nm_default_url = "notmuch:///home/achilleas/mail"
# ACCOUNTS
source $my_confdir/personal
named-mailboxes "β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”" /dev/null # account separator
source $my_confdir/work
source $my_confdir/personal
# EXTERNAL CONFIGS
source $my_confdir/colorschemes/mine
source $my_confdir/bindings
source $my_confdir/macros
source $my_confdir/sidebar
source $my_confdir/contacts
source $my_confdir/hooks
## startup folder
set spoolfile = $my_fastmailfolder/Inbox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment