you have already the short key for that from the salesforce ... use SHIFT+W
Do you have more tabs open than anyone could ever hope to remember? Do you long for a quick and easy way to keep your workspace clean? Use the Shift+w keyboard shortcut to close all of your unpinned tabs at once.
Do you have more tabs open than anyone could ever hope to remember? Do you long for a quick and easy way to keep your workspace clean? Use the Shift+w keyboard shortcut to close all of your unpinned tabs at once.
https://releasenotes.docs.salesforce.com/en-us/winter19/release-notes/rn_console_close_all_tabs.htm
I need to close all opend tabs using keyboard shortcut key in my console.