]> git.madduck.net Git - etc/neomutt.git/blob - .config/neomutt/neomuttrc

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

add neuried to alternatives
[etc/neomutt.git] / .config / neomutt / neomuttrc
1 set my_confdir="$HOME/.config/neomutt"
2
3 set my_attribution_de="Hinsichtlich Folgendem, was \"%n\" am %{%Y-%m-%d} um %{%H:%M Uhr %Z} schrieb:"
4 set my_attribution_en="Regarding the following, written by \"%n\" on %{%Y-%m-%d} at %{%H:%M Uhr %Z}:"
5
6 source $my_confdir/confvars
7 source $my_confdir/colours
8 source $my_confdir/headers
9 source $my_confdir/alternates
10 source $my_confdir/keybindings
11 source $my_confdir/lists
12 source $my_confdir/spam
13 source $my_confdir/hooks
14
15 auto_view text/html text/calendar
16 #auto_view application/x-gunzip application/x-tar-gz application/x-tar application/x-gtar
17 #auto_view application/postscript
18 alternative_order multipart/mixed multipart/related text/html text/enriched text/*
19 #alternative_order text/plain text/enriched text/html
20 #alternative_order text/enriched text/plain text application/postscript image/*
21 mime_lookup application/octet-stream
22
23 mailto_allow cc in-reply-to references subject body
24
25 source "test -f $alias_file && cat $alias_file 2>/dev/null || echo unset alias_file|"
26
27 set my_mutt_mailboxes = "$VARDIR/mutt/mailboxes"
28 source "test ! -f $my_mutt_mailboxes || cat $my_mutt_mailboxes|"
29
30 #virtual-mailboxes "all" "notmuch://?query=*"
31 #virtual-mailboxes "unread" "notmuch://?query=tag:unread"
32 #virtual-mailboxes "read" "notmuch://?query=not:tag:unread"
33 #virtual-mailboxes "spam" "notmuch://?query=tag:spam"
34
35 bind index,pager V change-vfolder
36 bind index,pager + entire-thread
37 # generate virtual folder from query
38 bind index,pager <F8> vfolder-from-query
39 # generate virtual folder from query with time window
40 bind index < vfolder-window-backward
41 bind index > vfolder-window-forward
42
43 #bind index,pager \` modify-labels
44 #macro index,pager \Ct "<modify-labels>!todo<enter>" "Toggle the 'todo' tag"
45 #
46 index-format-hook  date  "~d<1d"    "%{%H:%M%z}"
47 index-format-hook  date  "~A"       "%d"
48
49 tag-transforms "unread"  "N"   \
50                "replied" "r "  \
51                "archive" "➥ "  \
52                "todo"    "T"   \
53                "deleted" "␡" \
54                "invites" "CAL"
55
56 tag-formats "inbox"   "GI" \
57             "unread"  "GU" \
58             "replied" "GR" \
59             "sent"    "GS" \
60             "todo"    "Gt" \
61             "deleted" "GD" \
62             "invites" "Gi"
63
64 #set index_format="%4C %?GU?%GU& ?%?GR?%GR& ?%?GI?%GI& ? %-10@date@ %-15.15F %4c%?M?/[%M]? %?H?[%H] ?%s"
65
66 set pager_format="<%a> %*  %J (%P)"
67
68 set my_markdown_extensions="admonition,codehilite,sane_lists,smarty,pymdownx.extra,pymdownx.highlight,pymdownx.critic,pymdownx.keys,pymdownx.magiclink,pymdownx.mark,pymdownx.saneheaders,pymdownx.smartsymbols,nl2br"
69 macro compose y "<enter-command> source '$my_confdir/buildmimetree.py --extensions $my_markdown_extensions --tempdir $tmpdir --css-file $my_confdir/htmlmail.css --domain madduck.net|'<enter><enter-command> source \$my_mdwn_postprocess_cmd_file<enter>" "Convert message into a modern MIME tree with inline images"
70 macro compose Y "<enter-command> source '$my_confdir/buildmimetree.py --just-build --max-number-other-attachments 100 --extensions $my_markdown_extensions --tempdir $tmpdir --css-file $my_confdir/htmlmail.css --domain madduck.net|'<enter><enter-command> source \$my_mdwn_postprocess_cmd_file<enter>" "Convert message into a modern MIME tree with inline images"
71 bind compose \Cy send-message