On Thu, 8 Dec 2022, Sriraaman Sridharan wrote:
> Question for you: Is there any way to turn off or remap the 'D' (delete)
> key in Alpine. I accidentally hit D this morning, and it deleted the
> message forever.
There is no way to do this unless you patch Alpine. There is a patch that
allows you to remap keys in different screens. Since the "D" key is
available in two screens (index and message view) you would have to do it
twice. You can remap it to do anything. For example, to save the message
to a folder and then delete the message.
This is a link to the patch
https://alpineapp.email/alpine/info/rules.html
I hope this helps.