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.js2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/shared/operations.js b/src/shared/operations.js
index 4c221ba..7334369 100644
--- a/src/shared/operations.js
+++ b/src/shared/operations.js
@@ -49,8 +49,9 @@ export default {
ZOOM_OUT: 'zoom.out',
ZOOM_NEUTRAL: 'zoom.neutral',
- // Url yank
+ // Url yank/paste
URLS_YANK: 'urls.yank',
+ URLS_PASTE: 'urls.paste',
// Find
FIND_START: 'find.start',
diff --git a/src/shared/settings/default.js b/src/shared/settings/default.js
index d187565..6b71717 100644
--- a/src/shared/settings/default.js
+++ b/src/shared/settings/default.js
@@ -44,6 +44,8 @@ export default {
"gu": { "type": "navigate.parent" },
"gU": { "type": "navigate.root" },
"y": { "type": "urls.yank" },
+ "p": { "type": "urls.paste", "newTab": false },
+ "P": { "type": "urls.paste", "newTab": true },
"/": { "type": "find.start" },
"n": { "type": "find.next" },
"N": { "type": "find.prev" },