From b91e53e5feff66c1744faa930f4a79f493f91875 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Thu, 10 May 2018 22:16:38 +0900 Subject: Add bdlete/bdelete! commands --- src/background/actions/command.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/background/actions') diff --git a/src/background/actions/command.js b/src/background/actions/command.js index fa040ff..888b46f 100644 --- a/src/background/actions/command.js +++ b/src/background/actions/command.js @@ -84,6 +84,14 @@ const exec = (tab, line, settings) => { case 'b': case 'buffer': return bufferCommand(args); + case 'bd': + case 'bdel': + case 'bdelete': + return tabs.closeTabByKeywords(args.join(' ')); + case 'bd!': + case 'bdel!': + case 'bdelete!': + return tabs.closeTabByKeywordsForce(args.join(' ')); case 'bdeletes': return tabs.closeTabsByKeywords(args.join(' ')); case 'bdeletes!': -- cgit v1.2.3