diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-05-05 18:39:56 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-05 18:39:56 +0900 |
commit | 828ac8cd84ddae9565be67f56e452a416b305c7a (patch) | |
tree | bd616058e11f1bb3228c2a52bd3bc8e02d3ac149 /src/shared | |
parent | e68c0b0f8002207c32c2e8d387b17f5f4f2ccae9 (diff) | |
parent | 912231500439306f4d822e4fdc1764a7c68c5da2 (diff) |
Merge pull request #368 from emlow/issue-279
Add shortcut to view page source
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/operations.js | 3 | ||||
-rw-r--r-- | src/shared/settings/default.js | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/operations.js b/src/shared/operations.js index a2f980f..e8cc8cf 100644 --- a/src/shared/operations.js +++ b/src/shared/operations.js @@ -37,6 +37,9 @@ export default { // Focus FOCUS_INPUT: 'focus.input', + // Page + PAGE_SOURCE: 'page.source', + // Tabs TAB_CLOSE: 'tabs.close', TAB_CLOSE_FORCE: 'tabs.close.force', diff --git a/src/shared/settings/default.js b/src/shared/settings/default.js index 3b6706d..9e1c202 100644 --- a/src/shared/settings/default.js +++ b/src/shared/settings/default.js @@ -48,6 +48,7 @@ export default { "gu": { "type": "navigate.parent" }, "gU": { "type": "navigate.root" }, "gi": { "type": "focus.input" }, + "gf": { "type": "page.source" }, "y": { "type": "urls.yank" }, "p": { "type": "urls.paste", "newTab": false }, "P": { "type": "urls.paste", "newTab": true }, |