My personal dotfiles

commit 1ed463bc2e0ff8324e01e0b4be0526175583c0fd
parent a4614a0f0e7b5392bcad36ce4f451ce1573c3f9e
Author: Pablo Emilio Escobar Gaviria <>
Date:   Thu, 24 Dec 2020 01:54:46 +1000

Added some macros to my NeoMutt config

A.config/mutt/accounts/1-public.muttrc | 62++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
M.config/mutt/muttrc | 2+-
2 files changed, 63 insertions(+), 1 deletion(-)
diff --git a/.config/mutt/accounts/1-public.muttrc b/.config/mutt/accounts/1-public.muttrc
@@ -0,0 +1,62 @@
+# vim: filetype=neomuttrc
+# muttrc file for account
+set realname = "Pablo Emilio Escobar Gaviria"
+set from = ""
+set sendmail = "msmtp -a"
+alias me Pablo Emilio Escobar Gaviria <>
+set folder = "/home/pablo/.local/share/mail/"
+set header_cache = /home/pablo/.cache/mutt-wizard/
+set message_cachedir = /home/pablo/.cache/mutt-wizard/
+set mbox_type = Maildir
+bind index,pager gg noop
+bind index,pager g  noop
+bind index,pager G  noop
+bind index,pager M  noop
+bind index,pager C  noop
+macro index o "<shell-escape>mw -y<enter>" "run mbsync to sync"
+unmailboxes *
+mailboxes "=INBOX" "=Archive" "=Drafts" "=Sent" "=Spam" "=Trash"
+# Imbox
+macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox"
+macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox"
+macro index,pager Ci ";<copy-message>=INBOX<enter>" "copy mail to inbox"
+set spoolfile = "+INBOX"
+# Drafts
+macro index,pager ga "<change-folder>=Archive<enter>" "go to archive"
+macro index,pager Ma ";<save-message>=Archive<enter>" "move mail to archive"
+macro index,pager Ca ";<copy-message>=Archive<enter>" "copy mail to archive"
+set postponed = "+Drafts"
+# Imbox
+macro index,pager gd "<change-folder>=Drafts<enter>" "go to drafts"
+macro index,pager Md ";<save-message>=Drafts<enter>" "move mail to drafts"
+macro index,pager Cd ";<copy-message>=Drafts<enter>" "copy mail to drafts"
+set record = "+Sent"
+# Sent
+macro index,pager gs "<change-folder>=Sent<enter>" "go to sent"
+macro index,pager Ms ";<save-message>=Sent<enter>" "move mail to sent"
+macro index,pager Cs ";<copy-message>=Sent<enter>" "copy mail to sent"
+# Spam
+macro index,pager gS "<change-folder>=Spam<enter>" "go to spam"
+macro index,pager MS ";<save-message>=Spam<enter>" "move mail to spam"
+macro index,pager CS ";<copy-message>=Spam<enter>" "copy mail to spam"
+# Trash
+macro index,pager gt "<change-folder>=Trash<enter>" "go to trash"
+macro index,pager Mt ";<save-message>=Trash<enter>" "move mail to trash"
+macro index,pager Ct ";<copy-message>=Trash<enter>" "copy mail to trash"
+set trash = "+Trash"
+# Navigation
+macro index,pager G  "<End>"  "go to the bottom"
+macro index,pager gg "<Home>" "go to the top"
+# Unsets the signatures from other profiles
+unset signature
diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc
@@ -34,7 +34,7 @@ alternative_order text/plain text/enriched text/html
 macro index,pager A "<pipe-message>abook --add-email<return>" "add the sender address to abook"
 # Change the mailbox we're in
-macro index,pager I '<change-folder>?' "change mailboxes"
+macro index,pager I '<change-folder>?' "change folder we're in"
 # Format the sidebar entries
 set mail_check_stats=yes