disable command mode and set common vars

This commit is contained in:
Morgan McMillian 2021-04-07 12:25:58 -07:00
parent 76ba5da24d
commit 54925edca1
2 changed files with 14 additions and 5 deletions

7
.config/mutt/default Normal file
View file

@ -0,0 +1,7 @@
set from=""
set imap_user = ""
set imap_pass = "`echo get muh paws`"
set folder = "imaps://HOSTNAME/"
set smtp_url = "smtp://$imap_user@HOSTNAME:587"
set smtp_pass = "$imap_pass"
# vi: filetype=muttrc

View file

@ -1,7 +1,3 @@
# too many secrets
source "gpg -dq ~/.config/mutt/secrets.gpg |"
# default account
source ~/.config/mutt/dreamfall
@ -17,8 +13,11 @@ set mail_check=60
set header_cache=~/.hcache
set net_inc=5
set spoolfile = "=INBOX"
set record = "=Sent"
set postponed = "=Drafts"
set realname="Morgan McMillian"
set sendmail="/usr/bin/msmtp -v"
set use_from=yes
set envelope_from=yes
set edit_headers=yes
@ -29,6 +28,9 @@ alternative_order text/plain text/encriched text/html
unignore x-rss-url
color header yellow black "^subject:"
# disable command mode
bind generic,alias,attach,browser,editor,index,compose,pager,pgp,postpone ':' noop
bind pager j next-line
bind pager k previous-line
bind pager g top