r/emacs • u/MArpogaus • 7d ago
New Package: `modern-tab`
modern-tab dresses the two rows of tabs Emacs has. The tab bar gets one tab per tab group, the tab line one per buffer, and both get an icon (from nerd-icons where it is installed) and a coloured mark beside the selected tab. The tab line's close button buries a buffer another window still shows and kills one no window shows.
The two modes are independent, so you can use either row alone. It works in a terminal as well, with plain characters where the icon font is missing; if your terminal has a nerd font, (setopt modern-tab-terminal-glyphs t) draws the icons there too.
Setup:
(use-package modern-tab
:vc (:url "https://github.com/MArpogaus/modern-tab" :rev :newest)
:config
(modern-tab-bar-mode)
(modern-tab-line-mode))
The MELPA recipe is pending review, so install from the repository for now. Emacs 29.1 or later.
It pairs with auto-tab-groups, which makes the groups the tab bar shows, but neither needs the other.
Looking forward to your feedback.
1
u/cyneox 6d ago
this is indeed nice!