aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-10-21 19:41:55 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-10-21 19:41:55 +0900
commit6ad143d294df0a0cc2dfb775ecab9f8b12ee7be5 (patch)
tree177a523e5996e302d647853cf4b11767e669de3c
parentdc6d93c1da28ed17fe1bc5be07bdfab30a40dd66 (diff)
change default keymap
-rw-r--r--README.md1
-rw-r--r--src/shared/default-settings.js3
2 files changed, 3 insertions, 1 deletions
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.
- <kbd>z</kbd><kbd>i</kbd>, <kbd>z</kbd><kbd>o</kbd>: zoom-in/zoom-out
- <kbd>z</kbd><kbd>z</kbd>: Set default zoom level
- <kbd>y</kbd>: copy URL in current tab
+- <kbd>Shift</kbd>+<kbd>Esc</kbd>: 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" },
+ "<S-Esc>": { "type": "addon.toggle.enabled" }
},
"search": {
"default": "google",