-
Notifications
You must be signed in to change notification settings - Fork 0
/
.neomuttrc
132 lines (118 loc) · 5.59 KB
/
.neomuttrc
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# compile with options:
# ./configure --sasl --bdb --zlib --lz4 --disable-doc --gpgme --ssl --autocrypt --gnutls
# Configure Internet Message Access Protocol for reading mail
# Username and password for your Gmail or G Suite account
set imap_user = "[email protected]"
set imap_pass = "ooekdlnyhrizuglp"
# Specifies the default location of your mailboxes
set folder = "imaps://imap.gmail.com:993"
# Configure Simple Mail Transfer Protocol for sending mail
set smtp_url = "smtp://[email protected]:587"
set smtp_pass = "ooekdlnyhrizuglp"
# Location of inbox
set spoolfile = "+INBOX"
# Location of drafts
set postponed = "+Drafts"# Activate caching, as it can greatly improve speed
set header_cache = "~/.mutt/cache/headers"
set message_cachedir = "~/.mutt/cache/bodies"
# Disable saving outgoing mail since Gmail saves them by default.
set record = ""
# Gmail-style keyboard shortcuts
# unbind g so it doesn't complain about shadowing 'g'
bind index g noop
# so you can have spaces in folder names
bind editor <space> noop
macro index ga "<change-folder>=[Gmail]/All Mail<enter>" "Go to all mail"
macro index gd "<change-folder>=Drafts<enter>" "Go to drafts"
macro index gi "<change-folder>=INBOX<enter>" "Go to inbox"
macro index gs "<change-folder>=[Gmail]/Starred<enter>" "Go to starred messages"
macro index gt "<change-folder>=[Gmail]/Trash<enter>" "Go to trash"
macro index,pager d "<save-message>=[Gmail]/Trash<enter><enter>" "Trash"
macro index,pager y "<save-message>=[Gmail]/All Mail<enter><enter>" "Archive"
bind index G imap-fetch-mail
set mail_check = 5
#set editor=emacsclient --socket-name /tmp/emacs151600001/server
#sidebar
set sidebar_visible = no
##set sidebar_format = "%B%* %n"
#set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
#set mail_check_stats
#set sidebar_new_mail_only = no
#set sidebar_width = 15
#set sidebar_short_path = no
set crypt_use_gpgme=yes
set crypt_autosign=yes
set crypt_verify_sig=yes
set crypt_replysign=yes
set crypt_replyencrypt=yes
set crypt_replysignencrypted=yes
set crypt_autoencrypt = yes
set pgp_default_key="2EF852E253D131924EE5EA6A9B25C0B664F0049E"
set pgp_check_gpg_decrypt_status_fd
set pgp_use_gpg_agent = yes
set pgp_self_encrypt = yes
# color
color normal default default
color indicator brightyellow red
color tree default default
color status brightgreen blue
color error brightred default
color message red default
color signature red default
color attachment yellow default
color search brightyellow red
color tilde brightmagenta default
color markers red default
color hdrdefault cyan default
color bold green black
color underline yellow black
color index_flags black white ~D
color index_flags green default ~g
color index_flags brightgreen default ~G
color index_author brightdefault color035 ~P
color index_author blue brightred ~F
color index_author yellow default ~l
color index_flags yellow default ~N
color index_flags yellow default ~l
color index_date cyan default
color index_size cyan default
color index_number green default
color header brightcyan default '^From:'
color header brightyellow default '^Subject:'
color header black brightgreen '^User-Agent:.*Mutt'
color header black green '^User-Agent: Mozilla/5.0.*Linux'
color body brightcyan default "[-a-z_0-9.+]+@[-a-z_0-9.]+"
color body cyan default "((ftp|http|https)://|news:)[^ >)\"\t]+"
color body white brightblue "\\[[0-9]+\\]"
color body yellow default "\\[\\.\\.\\.?\\]"
color quoted magenta default # Quoting Ebene 1
color quoted1 red default # Quoting Ebene 2
color quoted2 green default # Quoting Ebene 3
color quoted3 magenta default # Quoting Ebene 4
color quoted4 blue default # Quoting Ebene 5
color quoted5 cyan default # Quoting Ebene 6
color quoted6 green default # Quoting Ebene 7
color quoted7 red default # Quoting Ebene 8
color quoted8 magenta default # Quoting Ebene 9
color quoted9 blue default # Quoting Ebene 10
#------------------------------------------------------------
# Vi Key Bindings
#------------------------------------------------------------
# Moving around
bind attach,browser,index g noop
bind attach,browser,index gg first-entry
bind attach,browser,index G last-entry
bind pager g noop
bind pager gg top
bind pager G bottom
bind pager k previous-line
bind pager j next-line
# Scrolling
bind attach,browser,pager,index \CF next-page
bind attach,browser,pager,index \CB previous-page
bind attach,browser,pager,index \Cu half-up
bind attach,browser,pager,index \Cd half-down
bind browser,pager \Ce next-line
bind browser,pager \Cy previous-line
bind index \Ce next-line
bind index \Cy previous-line