News for hackers. Stuff that matters.
Re:⌘Q is too damn close to ⌘W by jemfinch on Monday November 08, 2010 @10:21PM (#1885151)
Do people really not know that Chrome has an option to reopen itself with the tabs you had open last? Preferences > Basics > On Startup > Reopen the pages that were open last.
Re:⌘Q is too damn close to ⌘W by eli on Monday November 08, 2010 @10:28PM (#1885173)
I think the Ctrl+Shift+T shortcut to reopen closed tabs works across sessions too.
Re:⌘Q is too damn close to ⌘W by cstuder on Tuesday November 09, 2010 @02:05AM (#1885663)
That's the one feature that's definitly missing from Safari. (Safari only just now learned to re-open the last tab with Command-Z. All the other tabs you'll have to search for yourself in the recently closed pages-menu.)
Re:⌘Q is too damn close to ⌘W by kaffeinecoma on Tuesday November 09, 2010 @09:41AM (#1886534)
History -> Reopen All Windows From Last Session
Re:⌘Q is too damn close to ⌘W by evgen on Wednesday November 10, 2010 @12:31AM (#1889309)
In addition to the "reopen all windows" option mentioned you would probably be wise to check out the Sessions safari extension if you tend towards my habit of keeping lots of state in tens of browser windows with lots of tabs in each window... Sessions does a much better job of actually remembering your open tabs and windows (I have had the LastSession plist get messed up and windows or tabs open up completely empty too many times to count) and you can create or edit various save points for collections of windows and tabs.
Re:⌘Q is too damn close to ⌘W by invertedlambda on Tuesday November 09, 2010 @02:09AM (#1885671)
YES!!!
Re:⌘Q is too damn close to ⌘W by erikano on Tuesday November 09, 2010 @03:13AM (#1885804)
This did not work for me using Chromium 5.0.375.127 (0) under FreeBSD 8.1.
Re:⌘Q is too damn close to ⌘W by andreyf on Tuesday November 09, 2010 @12:41AM (#1885502)
This.
Re:⌘Q is too damn close to ⌘W by alunny on Monday November 08, 2010 @10:28PM (#1885172)
Well yes, but if you have 20+ tabs open in a couple of windows, it's disruptive and time consuming to close and reopen all of them.
Re:⌘Q is too damn close to ⌘W by glhaynes on Monday November 08, 2010 @10:39PM (#1885202)
And I'm sometimes a little annoyed at all the things to which I've been saying for the last week "I'll get back to that" suddenly showing up in my company's proxy logs all at once.
Re:⌘Q is too damn close to ⌘W by jemfinch on Monday November 08, 2010 @10:57PM (#1885244)
If that's a serious concern you might want to rethink your company ;)
Re:⌘Q is too damn close to ⌘W by Janteh on Monday November 08, 2010 @10:36PM (#1885194)
Chrome actually reopens all tabs for you if you use the command after restarting chrome. I don't like the author's solution because I use cmd 1-9 for navigating between tabs.
Re:⌘Q is too damn close to ⌘W by uxp on Monday November 08, 2010 @10:45PM (#1885213)
I don't like the author's solution either. Cmd+Option Q seems like an unused alternative that wouldn't require a major re-wire of habits to change to, just a slight mash of the keys to the left.

I initially thought Cmd+Shift Q would be better, but that is tied to System Logout.

Re:⌘Q is too damn close to ⌘W by jemfinch on Monday November 08, 2010 @10:56PM (#1885242)
Ah, that must be why there's the inconsistency between Mac and other platforms here. On Windows and Linux, Ctrl-Q does nothing; Ctrl-Shift-Q exits Chrome.
Re:⌘Q is too damn close to ⌘W by BrianHV on Monday November 08, 2010 @11:20PM (#1885311)
I forget where I saw this tip, but after making this mistake several times I remapped command-Q in Chrome to the "Zoom" command. (Keyboard control panel -> Keyboard Shortcuts -> Application Shortcuts). It's already saved me lots of time. And of course, any harmless menu command will work in place of "Zoom."

Edit: after I RTFA, I see this is much like what the article suggested. The only real difference is that my approach prevents you from quitting from the keyboard at all.

Re:⌘Q is too damn close to ⌘W by xhuang on Tuesday November 09, 2010 @05:57AM (#1886064)
why not use sessioin buddy[0] plugin, which save your tabs, so you don't have to open 20+ all at once

[0] https://chrome.google.com/extensions/detail/edacconmaakjimmf...

Re:⌘Q is too damn close to ⌘W by natmaster on Tuesday November 09, 2010 @03:00AM (#1885779)
Firefox + BarTab FTW.
Re:⌘Q is too damn close to ⌘W by wmoxam on Monday November 08, 2010 @11:04PM (#1885268)
Many sites use session cookies, which expire on exit.
Re:⌘Q is too damn close to ⌘W by miguelrios on Monday November 08, 2010 @11:14PM (#1885294)
That doesn't change the fact that I get mad and lose time whenever I accidentally close all my tabs.
Re:⌘Q is too damn close to ⌘W by cookiecaper on Tuesday November 09, 2010 @03:59PM (#1887880)
If you have something typed up, it may not always come back. For instance, Facebook uses javascript-y input boxes, so if you accidentally back away or close the window, the browser will not restore your content. Also, a Flash game will not save your state, etc.
Re:⌘Q is too damn close to ⌘W by sohooo on Tuesday November 09, 2010 @02:42AM (#1885743)
The sweet Sessions extension for Safari solves some of those problems.

http://dl.dropbox.com/u/8247646/sessions/index.html

Re:⌘Q is too damn close to ⌘W by noahth on Tuesday November 09, 2010 @12:47AM (#1885511)
And if you use the Recently Closed Tabs feature on the New Tab page, you can reopen sets of tabs that were all closed at once.
Re:⌘Q is too damn close to ⌘W by sh1mmer on Tuesday November 09, 2010 @02:47PM (#1887660)
This is also a list of the "recently closed" tabs in the history menu if you cmd+w instead of cmd+q.
Re:⌘Q is too damn close to ⌘W by jamesbritt on Tuesday November 09, 2010 @07:46PM (#1888676)
Yes, but it might not restore the state of the Web page at the time it was closed.