Better Ctrl-W
Closes highlighted tabs. To replace ctrl-w on Windows/Linux for Vim users!
Better Ctrl-W란 무엇입니까?
Better Ctrl-W은(는) thalesmello에 의해 개발된 Chrome 확장 프로그램으로, 주요 기능은 "Closes highlighted tabs. To replace ctrl-w on Windows/Linux for Vim users!"입니다.
확장 프로그램 스크린샷
Better Ctrl-W 확장 프로그램 CRX 파일 다운로드
크롬 확장 프로그램을 crx 형식으로 다운로드하여 브라우저에 수동으로 설치하거나 crx 파일을 친구들과 공유하여 쉽게 크롬 확장 프로그램을 설치하세요.
확장 프로그램 사용 설명서
# 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:
1. Assign `Ctrl-w` to an extension shortcut that does absolutely nothing
2. Assign a hotkey to close the current tab (I like to use `Alt-w` to mimic Mac OS's `Cmd+w`)
The problem with his extension is that it only works with the currently active tab,
and I regularly use `Shift + Click` to highlight a bunch of tabs, so that I can close them
all at once. His plugin didn't support multiple highlighted tabs, so I created my own.
# Usage
To use this plugin as it's intended, you have to set up the keyboard shortcuts after
installing it. Go to `chrome://extensions/shortcuts` and set the following shortcuts:
1. Assign `Do absolutely nothing` to `Ctrl-w`
2. Assign `Close highlighted tabs` to `Alt-w` or any other key combination of choice
This way, `Ctrl-w` will no longer close the current tab by mistake when editing it,
and you will be able to use `Alt-w` to close either the current of all highlighted tabs.
[1]: https://superuser.com/a/1207752
[2]: https://superuser.com/users/276658/samson
[3]: https://chrome.google.com/webstore/detail/ctrlw/goejokenmdamcapadhgghgpeeaeaaedc?hl=en 확장 프로그램 기본 정보
| 이름 | |
| ID | jfknaapblnppeflfamkegnnonlfgokhp |
| 공식 URL | https://chromewebstore.google.com/detail/better-ctrl-w/jfknaapblnppeflfamkegnnonlfgokhp |
| 설명 | Closes highlighted tabs. To replace ctrl-w on Windows/Linux for Vim users! |
| 파일 크기 | 7.07 KB |
| 설치 횟수 | 1,689 |
| 현재 버전 | 0.1 |
| 최근 업데이트 | 2020-05-03 |
| 출시 날짜 | 2020-05-02 |
| 평점 | 4.00/5 총 15 개의 평점 |
| 개발자 | thalesmello |
| 결제 유형 | free |
| 확장 프로그램 웹 사이트 | https://github.com/thalesmello/better-ctrlw |
| 지원되는 언어 | en-US |
| manifest.json | |
{
"update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
"background": {
"persistent": false,
"scripts": [
"background.js"
]
},
"commands": {
"close-highlighted-windows": {
"description": "Close highlighted tabs"
},
"do-nothing": {
"description": "Do absolutely nothing"
}
},
"description": "Closes highlighted tabs. To replace ctrl-w on Windows\/Linux for Vim users!",
"icons": {
"128": "icons\/128.png"
},
"manifest_version": 2,
"name": "Better Ctrl-W",
"version": "0.1"
} | |