Created
December 18, 2019 09:05
-
-
Save canabady/5af97d4f504d03cd0e3d76773d7c4f62 to your computer and use it in GitHub Desktop.
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
# Folder hooks | |
folder-hook 'mailbox.gmail.com' 'source ~/.mutt/muttrc/mailbox.gmail.com.muttrc' | |
# Default account | |
source ~/.mutt/muttrc/mailbox.gmail.com.muttrc | |
# set tmpdir="~/Temp/tmp" | |
# Macros for switching accounts | |
macro index <f2> '<sync-mailbox><enter-command>source ~/.mutt/muttrc/mailbox.gmail.com.muttrc<enter><change-folder>!<enter>' | |
# Fetch mail shortcut | |
bind index G imap-fetch-mail | |
# Color themes | |
macro index \e1 '<enter-command>source ~/.mutt/theme/my-theme.muttrc<enter>' | |
macro index \e2 '<enter-command>source ~/.mutt/theme/dracula.muttrc<enter>' | |
macro index \e3 '<enter-command>source ~/.mutt/theme/mutt-colors-solarized/mutt-colors-solarized-dark-16.muttrc<enter>' | |
macro index \e4 '<enter-command>source ~/.mutt/theme/mutt-colors-solarized/mutt-colors-solarized-dark-256.muttrc<enter>' | |
macro index \e5 '<enter-command>source ~/.mutt/theme/mutt-colors-solarized/mutt-colors-solarized-light-16.muttrc<enter>' | |
macro index \e6 '<enter-command>source ~/.mutt/theme/mutt-colors-solarized/mutt-colors-solarized-light-256.muttrc<enter>' | |
# Sidebar for neomutt | |
# Make the Sidebar visible by default | |
set sidebar_visible | |
# # Use 'B' to switch the Sidebar on and off | |
bind index,pager B sidebar-toggle-visible | |
set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S" | |
set mail_check_stats=yes | |
# Ctrl-Shift-P – Previous Mailbox | |
bind index,pager \CP sidebar-prev | |
# # Ctrl-Shift-N – Next Mailbox | |
bind index,pager \CN sidebar-next | |
# # Ctrl-Shift-O – Open Highlighted Mailbox | |
bind index,pager \CO sidebar-open | |
# Common shortcuts for all mailbox(es) | |
macro index A \ | |
"<tag-pattern>~N<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" \ | |
"mark all new as read" | |
macro index gn "<next-unread-mailbox><enter><next-new-then-unread><enter>" "Go to new mail" | |
alias addr Address Name <[email protected]> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment