把 Caps Lock 變成智慧的 Control 以及 Escape :
- 單獨輕按一下就是 Escape 。
- 若按下時同時按著其他鍵,就會是 Control 。
這應該是 Vim 和 Emacs 的最佳解了!(Emacs? Bash 的快捷鍵就是 Emacs 系列的)
- Send Escape if you tap Caps Lock alone.
// ==UserScript== | |
// @name Disable onmousedown in Google search results page | |
// @namespace https://gist.github.com/3081371 | |
// @include http://www.google.*/search?* | |
// @include https://www.google.*/search?* | |
// ==/UserScript== | |
(function () { | |
var disableOnmousedown = function (node) { | |
var a, i; |