aboutsummaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/operations.js3
-rw-r--r--src/shared/settings/default.js1
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 3c4dcac..f82db5a 100644
--- a/src/shared/settings/default.js
+++ b/src/shared/settings/default.js
@@ -46,6 +46,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 },