Single Editor Tabs
Enforce a limit of exactly one editor per editor group. Make VSCode behave a little more like Vim.
If you have an editor group open and open a new file, this extension will close all other editors in this group. You will be prompted if you want to save any unsaved work.
I thoroughly enjoy VSCodeVim.
One of the very few griefs I have with it is that
Then I either need to type
Writing a little extra to limit the tabs per editor group seemed a lot easier than trying to convince VSCodeVim to close all editors in a group.
What about zentabs?
zentabs is the base for this plugin. It offers to do the same thing and more (like keeping multiple Editors per group).
zentabs keeps track of opened editors and closes the superfluous editors by
This causes two things:
When you only want a single editor to remain open, you can use a different command to close all other editors in the group. This command also closes non-editor tabs and can do so without switching to the editor it needs to close.