Skip to content

Commit 2521d25

Browse files
authored
feat(vscode): add "Close all tabs except current" mapping (#1579)
1 parent 36577ef commit 2521d25

File tree

1 file changed

+1
-0
lines changed
  • lua/astrocommunity/recipes/vscode

1 file changed

+1
-0
lines changed

lua/astrocommunity/recipes/vscode/init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ return {
7676
maps.n["[b"] = "<Cmd>Tabprevious<CR>"
7777
maps.n["<Leader>c"] = "<Cmd>Tabclose<CR>"
7878
maps.n["<Leader>C"] = "<Cmd>Tabclose!<CR>"
79+
maps.n["<Leader>bc"] = function() require("vscode").action "workbench.action.closeOtherEditors" end
7980
maps.n["<Leader>bp"] = "<Cmd>Tablast<CR>"
8081

8182
-- file explorer

0 commit comments

Comments
 (0)