There's already an option for that.
I was wrong about where to find it, though. It's here:
Preferences / File Operations / Deleting Files / Automatically select next file after deleting
There's already an option for that.
I was wrong about where to find it, though. It's here:
Preferences / File Operations / Deleting Files / Automatically select next file after deleting