Mail: keyboard shortcut to move email to trash?
Actually, you don't need to go to all this effort. The default command+delete keyboard shortcut will do exactly what you want, so long as you've set your Mail preferences that way.

In summary, you need to:


Go to Mail > Preferences
Select the Accounts tab
Select the account (or email address) from the left pane
In the right pane, select the Mailbox Behaviours tab
At the bottom, tick the checkbox for Move deleted messages to the Bin mailbox
While at it, ensure that the other settings on this tab for erasing deleted messages are what you want


Now when using the command+delete keyboard shortcut to delete emails they will be moved to the Bin mailbox for the Account in question.