Return to mailbox on delete in mutt

1

1

If you delete a message from the pager in mutt, it loads the next message into the pager. How can I change the behavior so that it kicks me back to the mailbox when I delete a message from the pager?

cmhobbs

Posted 2012-08-07T18:30:59.947

Reputation: 135

Answers

3

Put this macro in your muttrc:

macro pager d <exit><delete-message> "delete current message and exit to index"

garyjohn

Posted 2012-08-07T18:30:59.947

Reputation: 29 085