summaryrefslogtreecommitdiff
path: root/.muttrc
blob: 5a2d79e693c5ed177e0926a20f686de4ec8f5c4d (plain)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# General
set my_name = "Danny Holman"
set editor=`echo \$EDITOR`
set sort=threads
set mailcap_path = ~/.mutt/mailcap
alternative_order text/enriched text/plain text/html text
auto_view text/html
set header_cache = "~/.cache/mutt"
set message_cachedir = "~/.cache/mutt"
unset imap_passive
set imap_keepalive = 300
set mail_check = 120

# Tennesee Tech Email
source "~/.mutt/tech"
folder-hook $folder 'source ~/.mutt/tech'

# Gymli Email
source "~/.mutt/gymli"
folder-hook $folder 'source ~/.mutt/gymli'

# PGP
set pgp_replyencrypt
set pgp_replysign
set pgp_replysignencrypted
set pgp_show_unusable=no
set pgp_verify_sig=yes
set pgp_sign_as=87B76D64AF9090B9C527B4D44EE2AB8BAFCB5561
source ~/.gpg.rc

# Keybinds
bind index ^ imap-fetch-mail
bind index - collapse-thread
bind index _ collapse-all

# Macros
macro pager \cb <pipe-entry>'urlview'<enter> 'Follow links with urlview'
macro index,pager S "<save-message>=INBOX.Spam<enter><enter-command>echo 'Saved to INBOX.Spam'<enter>" 'Mark message as Spam'
macro index,pager H "<save-message>=INBOX.Ham<enter><enter-command>echo 'Saved to INBOX.Ham'<enter>" 'Mark message as Ham'
macro index,pager R "<save-message>=Archive<enter><enter-command>echo 'Saved to Archive'<enter>" 'Move message to archives'
macro index,pager <f2> '<sync-mailbox><enter-command>source ~/.mutt/gymli<enter><change-folder>!<enter>
macro index,pager <f3> '<sync-mailbox><enter-command>source ~/.mutt/tech<enter><change-folder>!<enter>
macro index A "<modify-labels>+archive -unread -inbox<enter>" "Archive message"
macro index c "<change-vfolder>?" "Change to vfolder overview"
macro index \\\\ "<vfolder-from-query>" "Search mailbox"

# -*-muttrc-*-

# Palette for use with the Linux console.  Black background.

color hdrdefault blue black
color quoted blue black
color signature blue black
color attachment red black
color prompt brightmagenta black
color message brightred black
color error brightred black
color indicator black red
color status brightgreen blue
color tree white black
color normal white black
color markers red black
color search white black
color tilde brightmagenta black
color index blue black ~F
color index red black "~N|~O"

# color body brightwhite black '\*+[^*]+\*+'
# color body brightwhite black '_+[^_]+_+'