diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-10-21 21:17:27 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-21 21:17:27 +0900 |
commit | 7639e99b755e372712dca36e077a85d9a025cd9f (patch) | |
tree | 177a523e5996e302d647853cf4b11767e669de3c /src/shared | |
parent | 941073404b534d7f79e90f29b514a5f06fb8080d (diff) | |
parent | 6ad143d294df0a0cc2dfb775ecab9f8b12ee7be5 (diff) |
Merge pull request #86 from ueokande/10-disable-temporary
Disable add-on temporary
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/default-settings.js | 3 | ||||
-rw-r--r-- | src/shared/operations.js | 5 |
2 files changed, 7 insertions, 1 deletions
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", diff --git a/src/shared/operations.js b/src/shared/operations.js index 0d2a381..d5c2985 100644 --- a/src/shared/operations.js +++ b/src/shared/operations.js @@ -1,4 +1,9 @@ export default { + // Addons + ADDON_ENABLE: 'addon.enable', + ADDON_DISABLE: 'addon.disable', + ADDON_TOGGLE_ENABLED: 'addon.toggle.enabled', + // Command COMMAND_SHOW: 'command.show', COMMAND_SHOW_OPEN: 'command.show.open', |