I'm used to this way from firefox, and it is incredebly annoying. Is there a way to disable that behaviour in Chrome as well (when one tab is open, and you click C-w, it will close the browser as well) ?
I get this a lot as well, but I fear that it's working "as intended".
From Google Chrome Help:
The comment in the question made me try something:
if you have multiple windows of Chrome open and you accidently kill one of them with your Ctrl+W-ing, you can restore the window by hitting Ctrl+Shift+T.
I haven't been able to test if this also works if you close all windows and have to launch Chrome again
A simple solution that I stumbled on was to "pin" one of my tabs (usually Gmail, but why not SuperUser?) which leaves it permanently as the leftmost tab, and without a close tab button. It's essentially the manual version of @wasia 's suggestion.
You could also switch to ChromePlus where it's a built-in feature: closing the last tab will switch to new tab; only then can you close the browser. ChromePlus supports all GoogleChrome's extensions. (nearly all?) [- including the one linked above !!! I just tried the redundant extension...]
protected by Diago Oct 7 '10 at 19:55
Thank you for your interest in this question.
Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?