~gpanders/dotfiles

ref: c8e63bac959db19c138dcc3198a56514f0b444ff dotfiles/.config/mutt/gpanders.rc -rw-r--r-- 1.4 KiB
c8e63bacGreg Anders Manage dotfiles directly in home directory 1 year, 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
source ~/.config/mutt/default.rc

set my_account = gpanders
set my_prev_account = gmail
set my_next_account = gmail
set folder = ~/.mail/gpanders
set mbox_type = Maildir

set from = "greg@gpanders.com"
set spoolfile = +Inbox
set postponed = +Drafts
set record = +Sent
set mbox = +Archive
set trash = +Trash

set query_command = "khard email --parsable --search-in-source-files '%s'"

set smtp_url = "smtp://greg@gpanders.com@mail.gandi.net:587"
set smtp_pass = `pass mail/greg@gpanders.com`
unset smtp_authenticators

mailboxes +Inbox
mailboxes +Archive
mailboxes +Sent
mailboxes +Drafts
mailboxes +Lists
mailboxes +Lists/aerc
mailboxes +Lists/kernelnewbies
mailboxes +Lists/hackers
mailboxes +Lists/neomutt-users
mailboxes +Lists/zsh-users
mailboxes +Lists/meta-xilinx
mailboxes +Trash

subscribe ^aerc@lists\\.sr\\.ht$
subscribe ^kernelnewbies@kernelnewbies\\.org$
subscribe ^neomutt-users@neomutt\\.org$
subscribe ^hackers@suckless\\.org$
subscribe ^zsh-users@zsh\\.org$

# Move messages to the $mbox folder
macro index,pager A "<enter-command>set my_resolve=\$resolve<enter><enter-command>unset resolve<enter><clear-flag>N<save-message>\><enter><enter-command>set resolve=\$my_resolve<enter><sync-mailbox><refresh>" "archive message"

# Fetch mail
macro index <F5> "<enter-command>set my_wait_key=\$wait_key<enter><enter-command>unset wait_key<enter><shell-escape>mbsync gpanders<enter><enter-command>set wait_key=\$my_wait_key<enter>" "synchronize mailbox"

# vim: ft=neomuttrc