Better Ctrl-W
Closes highlighted tabs. To replace ctrl-w on Windows/Linux for Vim users!
What is Better Ctrl-W?
Stats
Chrome-Stats Rank
Other platforms
Summary
Better Ctrl-W
Vim users are used to using the Ctrl-w
key combination for deleting the last
word when in insert mode. That's no problem for Mac OS users when using
chrome, as the keyboard shortcut for closing a tab is Cmd+w. This is a problem
when using the browser on either Linux or Windows machines, as Ctrl-w
is the
shortcut for closing a window. So, when editing a text, a Vim user might
accidentally close the current tab by issuing a Ctrl-w
command, sometimes losing
important text that was being edited.
That annoyance motivated people to discuss solutions on [a StackOverflow thread][1],
in which user [samson
][2] commented he created [a Chrome extension][3] precisely to:
- Assign
Ctrl-w
to an extension shortcut that does absolutely nothing - Assign a hotkey to close the current tab (I like to use
Alt-w
to mimic Mac OS'sCmd+w
)
User reviews
User reviews summary
Pros
- The extension works perfectly when configured correctly.
- Useful for browser-based terminal applications without closing tabs.
- Helpful for users who interchangeably use Mac and Windows with the same keyboard.
Cons
- Does not work automatically and requires configuration post-installation.
- Some users report the extension doesn't work on Chrome version 105.x.
- Changes made by the extension can be permanent, leading to an inability to reset Ctrl W to close tabs.
- Extension may disable Ctrl-W globally, impacting other programs outside Chrome.
Most mentioned
- The necessity to configure the extension for it to work.
- Request for instructions to be more visible, preferably at the top of the description.
- Reports of the extension not functioning on specific Chrome versions.
- Users find it useful for preventing accidental tab closures while using browser-based terminals or games.
- Some users express desire for additional features, like deleting the word before the cursor in an input field.
Recent reviews
Safety
Risk impact
Better Ctrl-W is safe to use. It does not request any sensitive permissions.
Risk likelihood
Better Ctrl-W has earned a good reputation and can be trusted.
Screenshots
Similar extensions
Here are some Chrome extensions that are similar to Better Ctrl-W: