aboutsummaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-12-27 19:17:07 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-12-27 19:49:48 +0900
commitc03ab2862bf1fe015a0f7e9d9baf6738d639d425 (patch)
tree20c7ef6949e9c5d03d0ec89aec3d2664fc76747e /src/shared
parent1fc44c783aec2f155307b2de484c204cf39cbff1 (diff)
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 },