-
Notifications
You must be signed in to change notification settings - Fork 0
/
.muttrc
76 lines (69 loc) · 2.62 KB
/
.muttrc
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
## ##
## CONFIGURATION FILE FOR MUTT, ONLY FOR GMAIL. ##
##########################################################
#######################################
############ EDIT FROM HERE ###########
#######################################
#YOUR USERNAME OF GMAIL without @gmail.com
set imap_user = "user"
#
# ENTER YOUR GMAIL ACCOUNT IN PLACE OF "user"
set smtp_url = "smtp://[email protected]:587/"
#
# AGAIN ENTER YOUR EMAIL
set from = "[email protected]"
#
# YOUR FULL NAME, IT WILL APPEAR TO RECIEVER
set realname = "My Full Name"
#
# YOUR TEXT EDITOR
set editor = "vim"
#
#######################################
############ EDIT UPTO HERE ###########
#######################################
########## OPTIONAL #############################################################
######### ENTER THE VALUE IN QUOTES #############################################
######### IF YOU DON'T FILL THIS, MUTT WILL AUTOMATICALLY ASK WHEN YOU OPEN MUTT
#################################################################################
set imap_pass = ""
set smtp_pass = ""
########## OPTIONAL ###################
# Basic config, you can leave this as is
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set imap_check_subscribed
set hostname = gmail.com
set mail_check = 120
set timeout = 300
set imap_keepalive = 300
set postponed = "+[Gmail]/Drafts"
set header_cache=~/.mutt/cache/headers
set message_cachedir=~/.mutt/cache/bodies
set certificate_file=~/.mutt/certificates
set move = no
set include
set sort = 'threads'
set sort_aux = 'reverse-last-date-received'
set auto_tag = yes
set sendmail_wait=0
ignore "Authentication-Results:"
ignore "DomainKey-Signature:"
ignore "DKIM-Signature:"
hdr_order Date From To Cc
alternative_order text/plain text/html *
auto_view text/html
bind editor <Tab> complete-query
bind editor ^T complete
bind editor <space> noop
# Gmail-style keyboard shortcuts
macro index,pager y "<enter-command>unset trash\n <delete-message>" "Gmail archive message"
macro index,pager d "<enter-command>set trash=\"imaps://imap.googlemail.com/[GMail]/Bin\"\n <delete-message>" "Gmail delete message"
macro index,pager gi "<change-folder>=INBOX<enter>" "Go to inbox"
macro index,pager ga "<change-folder>=[Gmail]/All Mail<enter>" "Go to all mail"
macro index,pager gd "<change-folder>=GD<enter>" "Go to GD"
macro index,pager gs "<change-folder>=[Gmail]/Starred<enter>" "Go to starred messages"
macro index,pager dd "<change-folder>=[Gmail]/Drafts<enter>" "Go to drafts"
##### TEMPLATE FOR ADDING MORE SHORTCUTS ##########
#macro index,pager gl "<change-folder>=NewLabel<enter>" "Go to NewLabel"
##### TEMPLATE FOR ADDING MORE SHORTCUTS ##########