Home Download Buy Blog Forum Support

Chrome style tab closing (easy to close multiple tabs)

Chrome style tab closing (easy to close multiple tabs)

Postby reubenbond on Wed Nov 16, 2011 5:12 pm

Chome-style tab closing would be lovely.
If you're unfamiliar with the difference, the algorithm is something along the lines of "after a tab closure, don't resize surrounding tabs until the mouse leaves the tab bar area."

Thanks for your hard work :)
reubenbond
 
Posts: 1
Joined: Wed Nov 16, 2011 4:58 pm

Re: Chrome style tab closing (easy to close multiple tabs)

Postby stravid on Thu Nov 17, 2011 9:06 pm

I agree, this would be a very handy little detail making Sublime Text 2 even better!
stravid
 
Posts: 7
Joined: Fri Jan 15, 2010 10:27 pm

Re: Chrome style tab closing (easy to close multiple tabs)

Postby jps on Fri Nov 18, 2011 10:33 am

Tabs are fixed width in chrome, but variable width in Sublime Text. Delaying resizing the tabs wouldn't cause the close button to come under the mouse as in Chrome.
jps
Site Admin
 
Posts: 3058
Joined: Wed Mar 19, 2008 12:33 pm

Re: Chrome style tab closing (easy to close multiple tabs)

Postby spadgos on Fri Nov 18, 2011 1:10 pm

In Chrome, the tabs aren't fixed. Open 40 tabs and you'll see that they shrink. Even then, they don't resize after closing until you leave the area.
spadgos
 
Posts: 121
Joined: Thu Oct 06, 2011 12:49 am

Re: Chrome style tab closing (easy to close multiple tabs)

Postby jps on Fri Nov 18, 2011 10:46 pm

They're fixed in the sense that they're all equally sized - this isn't the case in Sublime Text
jps
Site Admin
 
Posts: 3058
Joined: Wed Mar 19, 2008 12:33 pm

Re: Chrome style tab closing (easy to close multiple tabs)

Postby buhrmi on Sat Nov 19, 2011 1:19 pm

Just use middle mouse to close tabs.

Or, better, don't use the mouse at all.
buhrmi
 
Posts: 17
Joined: Tue Nov 08, 2011 5:59 am

Re: Chrome style tab closing (easy to close multiple tabs)

Postby natebeaty on Sat Nov 19, 2011 2:06 pm

I often want to close multiple tabs in a row by keyboard, but the select-last-tab-by-buffer-stack behavior makes this impossible. Would love that to be a configurable option if at all possible, it often drives me crazy.
natebeaty
 
Posts: 119
Joined: Wed Apr 06, 2011 8:28 pm
Location: Chicago, IL

Re: Chrome style tab closing (easy to close multiple tabs)

Postby egress_tankard on Sat Nov 26, 2011 12:59 pm

Yes, please "close all tabs" by key command. Thanks.
egress_tankard
 
Posts: 2
Joined: Sat Nov 26, 2011 12:56 pm

Re: Chrome style tab closing (easy to close multiple tabs)

Postby adzenith on Sat Nov 26, 2011 5:04 pm

egress_tankard wrote:Yes, please "close all tabs" by key command. Thanks.

Throw this in your user keybindings:
Code: Select all
  { "keys": ["super+shift+w"], "command": "close_all" },

I just grabbed the command out of the Main Menu config file and bound it to a key.
adzenith
 
Posts: 1204
Joined: Mon Oct 19, 2009 9:12 pm

Re: Chrome style tab closing (easy to close multiple tabs)

Postby jeffhatz on Fri Jan 20, 2012 6:29 pm

I too would love to see Chrome-style tab closing added to ST.

Often when closing multiple tabs, I have to bounce the mouse around to hit the next "X" because of the variable tab width and immediate re-rendering of widths.
jeffhatz
 
Posts: 5
Joined: Mon Aug 29, 2011 10:47 pm

Next

Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 8 guests