Better Ctrl-W

Better Ctrl-W

Better Ctrl-W

热度 3748

当前版本 0.1
插件大小 6.33KiB
所属分类 开发者工具
更新时间 2020年5月2日
Chrome store open chrome web store
随机推荐 阿里云服务器2核2G 99元/1年(续费同价!)

Better Ctrl-W插件简介

Better Ctrl-W(扩展包名:jfknaapblnppeflfamkegnnonlfgokhp)由 开发,最新版本0.1 于 2020年5月2日 更新。 Better Ctrl-W 属于开发者工具分类。

🌹 这个应用程序可以在 ChromeFK 或 Google Chrome 网上应用商店进行下载。 ChromeFK上的所有插件扩展文件都是原始文件,并且 100% 安全,下载速度快。
Closes highlighted tabs. To replace ctrlw on Windows/Linux f Vim users!Better Ctrl-W浏览器扩展插件属于开发者工具分类。此应用程序可以在ChromeFK或Google Chrome网上应用商店进行下载。 ChromeFK上的所有插件扩展文件都是原始文件,并且 100% 安全,下载速度快。

Better Ctrl-W插件描述

# Better CtrlW

Vim users are used to using the `Ctrlw` key combination f deleting the  last
wd when in insert mode. Thats no problem f Mac OS users when using
chrome, as the keyboard shtcut f closing a tab is Cmd+w. This is a problem
when using the browser on either Linux  Windows machines, as `Ctrlw` is the
shtcut f closing a window. So, when editing a text, a Vim user might
accidentally close the current tab by issuing a `Ctrlw` comm, sometimes losing
imptant 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 `Ctrlw` to an extension shtcut that does absolutely nothing
2. Assign a hotkey to close the current tab (I like to use `Altw` to mimic Mac OSs `Cmd+w`)

The problem with his extension is that it only wks with the currently active tab,
 I regularly use `Shift + Click` to highlight a bunch of tabs, so that I can close them
all at once. His plugin didnt suppt multiple highlighted tabs, so I created my own.

# Usage

To use this plugin as its intended, you have to set up the keyboard shtcuts after
installing it. Go to `chrome://extensions/shtcuts`  set the following shtcuts:

1. Assign `Do absolutely nothing` to `Ctrlw`
2. Assign `Close highlighted tabs` to `Altw`  any other key combination of choice

This way, `Ctrlw` will no longer close the current tab by mistake when editing it,
 you will be able to use `Altw` 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/webste/detail/ctrlw/goejokenmdamcapadhgghgpeeaeaaedc?hl=en
                                

Better Ctrl-W插件离线安装方法

1.首先用户点击谷歌浏览器右上角的自定义及控制按钮,在下拉框中选择设置。

2.在打开的谷歌浏览器的扩展管理器最左侧选择扩展程序或直接输入:chrome://extensions/

3.找到自己已经下载好的Chrome离线安装文件xxx.crx,然后将其从资源管理器中拖动到Chrome的扩展管理界面中,这时候用户会发现在扩展管理器的中央部分中会多出一个”拖动以安装“的插件按钮。

4.下载 Better Ctrl-WChrome插件v0.1版本到本地。

5.勾选开发者模式,点击加载已解压的扩展程序,将文件夹选择即可安装插件。

注意:最新版本的chrome浏览器直接拖放安装时会出现“程序包无效CRX-HEADER-INVALID”的报错信息,参照这篇文章即可解决

历史版本

(如何离线安装?)
版本号 文件大小 下载

Better-Ctrl-W(0.1)

6.33KiB 城通网盘