From c03ab2862bf1fe015a0f7e9d9baf6738d639d425 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Thu, 27 Dec 2018 19:17:07 +0900 Subject: Add close tabs to the right command --- src/shared/operations.js | 1 + src/shared/settings/default.js | 1 + 2 files changed, 2 insertions(+) (limited to 'src/shared') diff --git a/src/shared/operations.js b/src/shared/operations.js index 026f97c..8674f4d 100644 --- a/src/shared/operations.js +++ b/src/shared/operations.js @@ -45,6 +45,7 @@ export default { // Tabs TAB_CLOSE: 'tabs.close', TAB_CLOSE_FORCE: 'tabs.close.force', + TAB_CLOSE_RIGHT: 'tabs.close.right', TAB_REOPEN: 'tabs.reopen', TAB_PREV: 'tabs.prev', TAB_NEXT: 'tabs.next', diff --git a/src/shared/settings/default.js b/src/shared/settings/default.js index 5b0950e..6523a74 100644 --- a/src/shared/settings/default.js +++ b/src/shared/settings/default.js @@ -24,6 +24,7 @@ export default { "G": { "type": "scroll.bottom" }, "$": { "type": "scroll.end" }, "d": { "type": "tabs.close" }, + "D": { "type": "tabs.close.right" }, "!d": { "type": "tabs.close.force" }, "u": { "type": "tabs.reopen" }, "K": { "type": "tabs.prev", "count": 1 }, -- cgit v1.2.3