|
8 months ago | |
---|---|---|
accounts | 8 months ago | |
.gitignore | 2 years ago | |
README.md | 2 years ago | |
dracula.muttrc | 2 years ago | |
gpg.rc | 2 years ago | |
mailcap | 8 months ago | |
muttrc | 8 months ago | |
smime.rc | 2 years ago |
README.md
My mutt config
Features
- Muti-account IMAP config
- Sidebar with subscribed folders
- PGP and SMIME support
- Passwords managed by pass https://passwordstore.org/
- Notifications through notify-send (libnotify), disable if you're on windows or OSX (or use something else)
- Dracula color scheme
Prerequisites
- Neomutt
- pass https://paswordstore.org
- gpg (for PGP support)
- openssl (for S/MIME)
- w3m or lynx (HTML mail support)
Installation
Make sure you have the prerequisites installed and configured. Also take a look in mailcap
to change whatever you need for previewing (like choosing between lynx or w3m). More importantly, fork this repo. I will ignore pull requests for obvious reasons :)
Clone this repository into ~/config/mutt
. Then edit whatever you want in accounts/account.*
so it matches up with your situation. Be sure to browse through the configuration to tweak anything you like. Also, make sure you fix the macros in the muttrc
so your f1/f2
keys will trigger the correct configuration.
TIP: make sure you create the header/body cache folders meantion in the account.*
files to speed IMAP up quite a bit.
Keybinds (that might differ fom default)
Sidebar
Ctrl-j/k
Move to previous/next mailboxCtrl-p/n
Move to previous/next mailbox with unread mailCtrl-o
Open selected mailboxShift-B
Toggle sidebar
Shortcuts to mailboxes (no chords, just press keys after each other)
-
gi
Jump to INBOX -
ga
Jump to Archive -
gj
Jump to Junk-folder -
gt
Jump to Trash -
Shift-Mi
Move to INBOX -
Shift-Ma
Move to Archive -
Shift-Mj
Move to Junk-folder -
Shift-Mt
Move to Trash -
Shift-Ci
Copy to INBOX -
Shift-Ca
Copy to Archive -
Shift-Cj
Copy to Junk-folder -
Shift-Ct
Copy to Trash
Index/Pager
j/k
Previous/Next lineShift-j/k
Previous/Next mail in mailboxgg
First entry in mailboxShift-g
Last entry in mailboxh
Go to parent folderH
See raw message (in vim)R
Reply to groupCtrl-R
Mark all messages as reada
Add sender adress to adressbookCtrl-b
Grab all links from the message and do something with them
Account switching
<F1>
Personal mailbox (see muttrc)<F2>
Work mailbox (see muttrc)
Troubleshooting
Q: neomutt complains about smtp_user
not being a valid variable.
A: Your neomutt is probably old. Substitute your username in the smtp_url
for the $smtp_user
. Or update neomutt.
Q: neomutt complains about directories (e.g. hcache) not existing
A: Create them.
Q: neomutt says it can't find notify-send
A: Install it. The package is usually called libnotify
or libnotify-bin
. This varies per OS and distribution. For Windows/OSX users, use something else or disable the line mentioning libnotify-bin in the config (look for set_new_mail_command
in muttrc)