aboutsummaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorusk <usk@localhost>2017-11-04 07:38:51 +0900
committerusk <usk@localhost>2017-11-07 03:22:18 +0900
commitc4de9ec451f781fa0cc6ce2cd82982d5d66ef787 (patch)
tree965171f72c09aa3927d020e117b42811e908e160 /src/shared
parent256820f78d0450c55a32557eca13294ab9fdf80f (diff)
add support for duplicating current tab
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/default-settings.js1
-rw-r--r--src/shared/operations.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/default-settings.js b/src/shared/default-settings.js
index e45bee6..14f48be 100644
--- a/src/shared/default-settings.js
+++ b/src/shared/default-settings.js
@@ -33,6 +33,7 @@ export default {
"r": { "type": "tabs.reload", "cache": false },
"R": { "type": "tabs.reload", "cache": true },
"zp": { "type": "tabs.pin.toggle" },
+ "zd": { "type": "tabs.duplicate" },
"zi": { "type": "zoom.in" },
"zo": { "type": "zoom.out" },
"zz": { "type": "zoom.neutral" },
diff --git a/src/shared/operations.js b/src/shared/operations.js
index 1aa4227..f63f7ca 100644
--- a/src/shared/operations.js
+++ b/src/shared/operations.js
@@ -42,6 +42,7 @@ export default {
TAB_PIN: 'tabs.pin',
TAB_UNPIN: 'tabs.unpin',
TAB_TOGGLE_PINNED: 'tabs.pin.toggle',
+ TAB_DUPLICATE: 'tabs.duplicate',
// Zooms
ZOOM_IN: 'zoom.in',