-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
64 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# A basic .muttrc for use with Gmail | ||
|
||
# 按照自己账户的实际情况修改如下部分 | ||
|
||
set imap_user = "foobar@gmail.com" | ||
set imap_pass = "passwd" | ||
set smtp_url = "smtp://anyeccc@smtp.gmail.com:587/" | ||
set smtp_pass = "passwd" | ||
set from = "foobar@gmail.com" | ||
set realname = "Tom" | ||
|
||
# 选择你喜欢的文本编辑器,nano,emacs 之类都可以 | ||
set editor = "vim" | ||
|
||
# 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 record = "+[GMail]/Sent Mail" | ||
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 | ||
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 键盘快捷键设置,这个配置是和 gmail web 一样的 | ||
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 gs "<change-folder>=[Gmail]/Starred<enter>" "Go to starred messages" | ||
macro index,pager gd "<change-folder>=[Gmail]/Drafts<enter>" "Go to drafts" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters