centaur-tabs icon indicating copy to clipboard operation
centaur-tabs copied to clipboard

One Frame One Tab Bar

Open c02y opened this issue 3 years ago • 5 comments

Currently, when I open multiple windows inside a frame, left-right or up-down, every window contains a tab bar, is it able to show only one tab bar inside one frame? Just like some web browsers, when you tile two windows side by side, you only get one single tab bar at the top for the two windows, you will get another tab bar only when you open a new browser window(new frame emacs).

c02y avatar Aug 05 '21 17:08 c02y

That looks a great idea! any maintainer knows if is possible to implement?

thiagolopes avatar Nov 29 '21 12:11 thiagolopes

This is already a part of Emacs since 27.1: see tab-bar-mode in the manual. Centaur, as of the time of writing, does not have support for tab-bar-mode. I've thought about adding support, but I'm split on whether this should be a separate package (given that tab-bar-mode is quite different conceptually than Centaur) or this should be an optional feature within Centaur.

In fact, since 27.1, Centaur has its own "built-in" competitor, tab-line-mode, which Centaur works independently of. Adding support for this is something I plan to do soon, and has higher priority than tab-bar-mode support. However, pull requests or further discussion are always welcome.

nebhrajani-a avatar Nov 30 '21 06:11 nebhrajani-a

You can provide it as variable.

c02y avatar Nov 30 '21 06:11 c02y

Is this solved by #122?

ema2159 avatar Jan 11 '22 08:01 ema2159

No, the same old, two bars in two windows inside one emacs frame.

And it introduced a new bug, in emacsclient, the bar is there, but there are no tabs in it.

Honestly I'm OK with the old one right now, since the two buffers in the two windows may belong to two differenet workspaces. They don't have to be put into one tab bar.

c02y avatar Jan 11 '22 19:01 c02y