From c4de9ec451f781fa0cc6ce2cd82982d5d66ef787 Mon Sep 17 00:00:00 2001 From: usk Date: Sat, 4 Nov 2017 07:38:51 +0900 Subject: add support for duplicating current tab --- src/shared/default-settings.js | 1 + src/shared/operations.js | 1 + 2 files changed, 2 insertions(+) (limited to 'src/shared') 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', -- cgit v1.2.3