I'm searching for a way to toggle tab visibility in Sublime Text 2 or 3. I've seen the 'hide tabs' plugin, but it doesn't fit my needs, and neither does this script (the API seems to have changed since 2010).
I just want to bind a keyboard shortcut to toggle tab visibility.
Open the console Ctrl+` and type:
sublime.log_commands(True)
Then click View -> Toggle tabs yourself and observe the console:
command: toggle_tabs
You've got the command name. Now go to Preferences -> Key bindings - User. This opens the JSON config file in the User
package where you can set your own setting. Add an entry like:
{ "keys": ["ctrl+shift+t"], "command": "toggle_tabs" }
If you are on Mac OS X, you can go to System Preferences > Keyboard > Shortcuts > App Shortcuts, then add a new key binding for the specific menu item.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With