Make Delete key (on keyboard) work consistently

There are some situations where pressing Delete on your keyboard (Windows 10) will delete what you have selected, and some where it does nothing. For example, if I’m editing a playlist, I have to click the Remove button with my mouse to delete selected files from the playlist, but I would prefer to be able to use the keyboard Delete key.