Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keyboard shortcut for Close all tabs except current working tab

When working with multiple tabs what is the keyboard shortcut to close all other tabs excpet the current tab. There is way to do this from right clicking tab and clicking "Close Others" Close Others from clicking

like image 218
asont Avatar asked Oct 23 '25 08:10

asont


1 Answers

As of 2023 there is no need for an additional macro.
Press: ctrl + k + ctrl + s to open Keyboard Shortcuts, search for Close Other View: Close Other Editors in Group -> bind it to whatever you want. I liked my RStudio shortcut of ctrl+shift+alt+w

PS: there are also other interesting options like close all saved other tabs

like image 190
Björn Avatar answered Oct 25 '25 14:10

Björn



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!