summaryrefslogtreecommitdiffstats
path: root/.config/mutt/gmailrc
diff options
context:
space:
mode:
authorLuke <luke@lukesmith.xyz>2018-01-21 18:29:48 -0700
committerLuke <luke@lukesmith.xyz>2018-01-21 18:29:48 -0700
commit50adee4e79febf6f74594604e9f7083461b04227 (patch)
tree54036701bd0957e51521e7f51d4d3b49450f22da /.config/mutt/gmailrc
parent68bd2acdc8f8040deab188c748d207d93ba923ca (diff)
downloadeibhear-50adee4e79febf6f74594604e9f7083461b04227.tar.gz
eibhear-50adee4e79febf6f74594604e9f7083461b04227.tar.zst
eibhear-50adee4e79febf6f74594604e9f7083461b04227.zip
"first" commit, preparing for LARBS 2.0
Diffstat (limited to '.config/mutt/gmailrc')
-rw-r--r--.config/mutt/gmailrc30
1 files changed, 30 insertions, 0 deletions
diff --git a/.config/mutt/gmailrc b/.config/mutt/gmailrc
new file mode 100644
index 0000000..c86573a
--- /dev/null
+++ b/.config/mutt/gmailrc
@@ -0,0 +1,30 @@
+# vim: filetype=muttrc
+# Gmail app password should be generated for this configuration file. Never use your proper password in a standard text field.
+set imap_user = "YOURNAME@gmail.com"
+set smtp_url = "smtp://YOURNAME@smtp.gmail.com:587/"
+set from = "YOURNAME@gmail.com"
+set realname = "YOUR ACTUAL NAME"
+set mbox_type = Maildir
+set sendmail = "/usr/bin/msmtp -a gmail"
+set folder = "~/.Mail/Gmail"
+set spoolfile = "+INBOX"
+set record = /dev/null
+set mbox = "+[Gmail].All Mail"
+set postponed = "+[Gmail].Drafts"
+set header_cache = ~/.config/mutt/gmail/cache/headers
+set message_cachedir = ~/.config/mutt/gmail/cache/bodies
+set certificate_file = ~/.config/mutt/gmail/certificates
+set ssl_starttls = yes
+set ssl_force_tls = yes
+
+mailboxes +INBOX
+
+bind index g noop
+macro index gi "<change-folder>=INBOX<enter>" "Go to inbox"
+macro index ga "<change-folder>=[Gmail].All Mail<enter>" "Go to all mail"
+macro index gs "<change-folder>=[Gmail].Sent Mail<enter>" "Go to sent mail"
+macro index gS "<change-folder>=[Gmail].Spam<enter>" "Go to spam"
+macro index gt "<change-folder>=[Gmail].Trash<enter>" "Go to trash"
+macro index gd "<change-folder>=[Gmail].Drafts<enter>" "Go to drafts"
+macro index gl "<change-folder>=lingcircle<enter>" "Go to lingcircle"
+macro index gr "<change-folder>=ugaroml<enter>" "Go to ugaroml"