Neomutt updates

This commit is contained in:
Orien Vandenbergh 2025-05-21 11:55:27 -04:00
parent b2b1099546
commit af76dcce3f
4 changed files with 30 additions and 8 deletions

View File

@ -48,3 +48,8 @@ set invpipe_decode<enter>" # View
macro generic "\e?" "<shell-escape>less /usr/share/doc/mutt/manual.txt<enter>" macro generic "\e?" "<shell-escape>less /usr/share/doc/mutt/manual.txt<enter>"
macro index "\e?" "<shell-escape>less /usr/share/doc/mutt/manual.txt<enter>" macro index "\e?" "<shell-escape>less /usr/share/doc/mutt/manual.txt<enter>"
macro pager "\e?" "<shell-escape>less /usr/share/doc/mutt/manual.txt<enter>" macro pager "\e?" "<shell-escape>less /usr/share/doc/mutt/manual.txt<enter>"
unbind editor <space>
macro compose \Ca ":source ~/bin/fzfattach.sh|<enter>"
macro pager A |'abook --add-email'\n

View File

@ -1,9 +1,24 @@
text/vcard; mutt_vcard_filter; copiousoutput
text/html; w3m -dump %s; copiousoutput; nametemplate=%s.html
application/x-html; w3m -dump %s; copiousoutput; nametemplate=%s.html
image/jpeg; gthumb %s;
application/octet-stream; mutt-octet-filter %s; copiousoutput
text/x-diff; view %s; needsterminal
text/x-patch; view %s; needsterminal
application/x-gzip; zcat %s; copiousoutput
application/msword; soffice %s; application/msword; soffice %s;
#application/octet-stream; ~/bin/mutt.octet.filter %s; copiousoutput
application/octet-stream; file -b %s; copiousoutput
application/pdf; open -a "Preview" %s;
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; open -a "Microsoft Excel" %s
application/x-gzip; zcat %s; copiousoutput
application/x-html; open -a "Firefox" %s; nametemplate=%s.html
application/x-html; w3m -dump %s; copiousoutput; nametemplate=%s.html
image/*; open -a "Preview" %s;
text/html; open -a "Firefox" %s; nametemplate=%s.html
text/html; w3m -dump %s; copiousoutput; nametemplate=%s.html
text/vcard; mutt_vcard_filter; copiousoutput
text/x-diff; view %s; needsterminal
text/x-patch; view %s; needsterminal

View File

@ -8,6 +8,7 @@ set hostname=felurian.guidepointsecurity.com # Name of the localhost
set hidden_host # Hide host details set hidden_host # Hide host details
set alias_file=~/.config/neomutt/aliases # Personal mail aliases set alias_file=~/.config/neomutt/aliases # Personal mail aliases
#set query_command="~/bin/mutt-ldap '%s'" # How to query the company contacts #set query_command="~/bin/mutt-ldap '%s'" # How to query the company contacts
set query_command="abook --mutt-query '%s'" # How to query the company contacts
set postpone=ask-no # Ask about postponing set postpone=ask-no # Ask about postponing
unset move # Keep read mail in inbox, also Gmail moves it automatically unset move # Keep read mail in inbox, also Gmail moves it automatically
set print=ask-no # Ask before printing set print=ask-no # Ask before printing

View File

@ -4,6 +4,7 @@
# #
#save-hook .* =Archive/`date "+%Y"`/`date "+%m"` #save-hook .* =Archive/`date "+%Y"`/`date "+%m"`
save-hook '=f @analog.com' "=Customers/Analog"
save-hook '~f @nafinc\\.com$' "=Customers/NAF" save-hook '~f @nafinc\\.com$' "=Customers/NAF"
save-hook '~f @newyorklife\\.com$' "=Customers/NYLife" save-hook '~f @newyorklife\\.com$' "=Customers/NYLife"
save-hook '=f @rtx.com' "=Customers/RTX" save-hook '=f @rtx.com' "=Customers/RTX"