Better Ctrl-W: Enhance the way you close tabs in Chrome
Extension stats
Ranking
Other platforms
Extension 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
- Works perfectly after configuration
- Helps use browser-based terminal applications without closing tabs
- Users appreciate the functionality in browser games
- Users experience improved workflow by preventing accidental tab closures
- Positive feedback on its effectiveness and usefulness
- Does not work automatically after installation requiring manual configuration
- Changes to keybindings cannot be undone
- Issues with functionality on Chrome 105.x
- Disables Ctrl-W even outside of Chrome
- Configuration is needed after installation
- The inability to reset Ctrl-W functionality
- It does not work on Chrome 105.x
- Disables Ctrl-W outside of Chrome
User reviews
Extension safety
Risk impact
Better Ctrl-W does not require any sensitive permissions.
Risk likelihood
Better Ctrl-W has earned a good reputation and can be trusted.
Similar extensions
Here are some Chrome extensions that are similar to Better Ctrl-W: