# -*- muttrc -*-
#
# Mutt configuration file
# 2008,  kolter <kolter@openics.org>
#
#  This file is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY
#
# Macros settings for Mutt.
#

macro	generic	\em	"<enter-command>source ~/.muttrc<enter>"	"Reloading Mutt's configuration"

macro	index,pager	<f1>	"<change-folder> =<enter>"			"Change folder for INBOX"
macro	index,pager	<f2>	"<change-folder> =.Sent<enter>"			"Change folder for Sent"
macro	index,pager	<f3>	"<change-folder> =.Draft<enter>"		"Change folder for Draft"
macro	index,pager	<f4>	"<change-folder> =.Spam<enter>"			"Change folder for Spam"
macro	index,pager	<f5>	"<change-folder> =.Trash<enter>"		"Change folder for Trash"
macro	index,pager	<f10>	"<change-folder> =<enter>"			"Change folder for INBOX"

macro	index,pager	B	"<enter-command>toggle sidebar_visible<enter>"	"Toggle sidebar visibility"
macro	index		\cx	"<tag-pattern>~N<enter><tag-prefix><toggle-new><tag-prefix><clear-flag>*" "Mark all new messages as read"

macro	index,pager	S	"<enter-command>unset wait_key<enter><bounce-message>spam@localhost<enter><enter-command>set wait_key<delete-message>" "Bounce message to AntiSpam (spam)"
macro	index,pager	H	"<enter-command>unset wait_key<enter><bounce-message>ham@localhost<enter><enter-command>set wait_key" "Bounce message to AntiSpam (ham)"

