Suppress held-delete when switching categories in editor

Just a quality of life thing, but would it be possible to have it so that holding down delete in the editor would at most delete only all the things in the currently-selected branch of the directory?

So, say I have 40 pieces in a deck, and I want to delete them all, but not to remake the deck, holding down delete is currently very risky - time the release wrong and you can lose a chunk of a module - but tapping delete a lot is a chore too.

Shift-click to highlight multiple things would be an alternative fix that would also be nice.