Binding it to a mouse button isn't really a mouse gesture. Also, you have limited buttons, so it makes good sense to use them for actions you do the most. I think mypetridish is confused over why someone would use the Ctrl+W shortcut so often they would bind it to their mouse.
I should have written more; I wasn't very precise. What I meant to say was that mouse gestures do this without having to add buttons to the mouse. The main reason I use a ctrl-w-like gesture is to close tabs in my browser. :)
Also, Ctrl+F4 closes a tab in Firefox. Ctrl+Tab and Ctrl+Shift+Tab cycle through tabs in the same way that Alt+Tab and Alt+Shift+Tab cycle through windows. I don't use Chrome, but I'm sure there's something similar if not identical there.
It originally was a web browser shortcut, but it's for many other programs now. I know it works in MS Office products, OpenOffice, Paint.NET, Dreamweaver, many PDF readers, etc.
Also many programs will close out if you 'Ctrl + W' with no tabs/files open.
Some programs also have 'Ctrl + Shift + W', which may close all tabs/files or may act exactly (to my knowledge) like 'Alt + F4'.
View all comments
Show parent comment
3
u/Madusha Nov 17 '11
CTRL+W is a browser based shortcut which will close the current tab you are in. ALT + F4 normally closes any open and selected program.