aboutsummaryrefslogtreecommitdiff
path: root/src/background/actions
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-05-10 21:56:49 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-05-12 09:10:18 +0900
commitc4fb6f01319ca2d0cb71da2f3ed41de1ff35130c (patch)
tree237ca880baa2dad23be87293102c3a3f5b4ed4b6 /src/background/actions
parentb0dddc9fa7765dc252fd11fc7d0fe52820655fd5 (diff)
Add :bdeletes command
Diffstat (limited to 'src/background/actions')
-rw-r--r--src/background/actions/command.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/background/actions/command.js b/src/background/actions/command.js
index 2b77507..020a57f 100644
--- a/src/background/actions/command.js
+++ b/src/background/actions/command.js
@@ -84,6 +84,8 @@ const exec = (tab, line, settings) => {
case 'b':
case 'buffer':
return bufferCommand(args);
+ case 'bdeletes':
+ return tabs.closeTabsByKeywords(args.join(' '));
case 'addbookmark':
return addBookmarkCommand(tab, args).then((item) => {
if (!item) {