From 6ad143d294df0a0cc2dfb775ecab9f8b12ee7be5 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sat, 21 Oct 2017 19:41:55 +0900 Subject: change default keymap --- README.md | 1 + src/shared/default-settings.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 066a706..8514e0c 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ The default mapping are shown in the following. - zi, zo: zoom-in/zoom-out - zz: Set default zoom level - y: copy URL in current tab +- Shift+Esc: enable of disable the add-on in current tab. ### Console commands diff --git a/src/shared/default-settings.js b/src/shared/default-settings.js index d280185..60e7876 100644 --- a/src/shared/default-settings.js +++ b/src/shared/default-settings.js @@ -41,7 +41,8 @@ export default { "]]": { "type": "navigate.link.next" }, "gu": { "type": "navigate.parent" }, "gU": { "type": "navigate.root" }, - "y": { "type": "urls.yank" } + "y": { "type": "urls.yank" }, + "": { "type": "addon.toggle.enabled" } }, "search": { "default": "google", -- cgit v1.2.3