How to show opened tab only on one side with tabs?

If enable tabs in .doom.d/init.el, when split window to two sides, the tab content showed the same on each side.

How to make it show new opened tab on one side only?

Emacs has 2 types of tabs:

  • tab-line-mode
  • tab-bar-mode

You’re using the former, you want the latter.

it seems the tab-line-mode doesn’t look like vscode’s tab if separate to multiple windows.

I have no idea how vscode does it, but tab-line-mode means you get a tab line inside each split where as tab-bar-mode is one tab line per frame.

VSCode like this:

In each separate window, the tabs can be opened and closed directly. But don’t show in other windows.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.