If you right-click a tab name you have three options for closing:

* Close
* Close others
* Close tabs to the right

If you go through the default shortcuts you'd see only the first is possible using the keyboard.

How could you close the other tabs or tabs to the right using the keyboard?

Is there a built-in command which you can bind keys to?