Command-W kills sidebar by accident

JCC 3 years ago 0

I use command-W to kill tabs all the time.  If the sidebar happens to be in focus at the moment, it's killed instead and has to be respawned.  Can command-W somehow be disabled in the case of sidebar focus?