Ctrl+W: Close Window
In a lot of applications, Ctrl+W will close the current window (and in the case of an application like Microsoft Word, prompt you to save the current document if it hasn’t been saved already).
Let’s see an example and put together some of the Firefox tips from this week. Suppose you’re reading a Web page and suddenly need to check a different site (for example, you’re browsing a vacation site and want to check the weather). Press Ctrl+T to open a new tab, type in the site name such as “weatherunderground,” press Ctrl+Enter to complete the URL name and load the page, find the information you need, then press Ctrl+W to close the new tab.
on May 9th, 2008 at 9:40 am
Press ctrl and w
and also alt f4
on June 19th, 2008 at 12:32 am
Good point about Alt+F4, but I find it a bit inconvenient to type, personally.
on July 2nd, 2008 at 12:04 pm
I’d like to note that Ctrl+W works in programs like Windows Explorer, Internet Explorer, Microsoft Outlook, Mozilla Firefox, X-Chat, VirtualDub.
And it doesn’t work in programs like Notepad, Wordpad, Paint, Calculator, Command Prompt, …
on July 11th, 2008 at 10:58 am
Good point, Mako. A program usually has to have the ability to use more than one window for Ctrl+W to be honored.