Don't open next message after delete in pager

Kevin J. McCarthy kevin at 8t8.us
Tue Mar 17 17:00:00 UTC 2020


On Tue, Mar 17, 2020 at 07:22:52AM +0100, Christopher Zimmermann wrote:
>after delete/move/mark_unread in the pager mutt will open the next 
>message. Is it possible to configure it to instead return to the 
>index?

Unsetting $resolve will stop moving to the next message for a variety of 
operations in the index, pager, and other menus in mutt.

To return to the index, you would need to use a macro.  Copy/save have 
interactive prompts, so you would want to return to the index before 
those operations.  However, if you abort the copy/save you would still 
end up in the index.

   macro pager d '<exit><delete-message>' 'Delete and return to index'
   macro pager C '<exit><copy-message>'   'Copy and return to index'
   etc...

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20200317/1d7854a4/attachment.asc>


More information about the Mutt-users mailing list