Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 472 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 472 Bytes

Motivation

I often find myself having too many tabs open. Many of them are Working Tree diffs. I needed a simple way to close them.

Usage

Either use the Close Tabs via Regex command or better yet, create a shortcut and pass your regex as an argument.

Example

// keybindings.json
[
  {
    "key": "ctrl+alt+c",
    "command": "close-tabs-via-regex.close",
    "args": "\\(", // Close all tabs that contain an opening bracket
  }
]