aboutsummaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2019-02-04 09:44:01 +0900
committerGitHub <noreply@github.com>2019-02-04 09:44:01 +0900
commit5cb6b5f76aa0bbd731aaeff1e1d76a6b59135fa8 (patch)
tree75d556081f42b0e6f374e4993355792f5f8e5591 /src/shared
parent6282204fc64902232b8a8cb181b2eadb0f8097bf (diff)
parent54bbe4ecbdb53dddd97db18581edb0704b4cb76f (diff)
Merge pull request #516 from ueokande/close-tabs-to-the-right
Add close tabs to the right command
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/operations.js1
-rw-r--r--src/shared/settings/default.js1
2 files changed, 2 insertions, 0 deletions
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 },