From 54925edca13b6ff86f8cad368dc1869dd7928f0e Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Wed, 7 Apr 2021 12:25:58 -0700 Subject: [PATCH] disable command mode and set common vars --- .config/mutt/default | 7 +++++++ .config/mutt/muttrc | 12 +++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 .config/mutt/default diff --git a/.config/mutt/default b/.config/mutt/default new file mode 100644 index 0000000..381fbb2 --- /dev/null +++ b/.config/mutt/default @@ -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 diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc index c46338d..4907bff 100644 --- a/.config/mutt/muttrc +++ b/.config/mutt/muttrc @@ -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