tab-bar-buffers

Homepage: https://github.com/ajrosen/tab-bar-buffers

Author: Andy Rosen

Updated:

Summary

Use tab-bar-mode as a buffer manager

Commentary

This package piggy-backs on `tab-bar-mode' to implement a simple
buffer manager.  Instead of managing tabs it manages buffers.

Installation:

Add the following tor your init file.

`(tab-bar-buffers-mode t)'

Or enable `tab-bar-buffers-mode` from the Easy Customization form.

`(customize-group 'tab-bar-buffers)'

Customization:


`tab-bar-buffers-mode` has a few customization items of its own.

- *Uninteresting buffers* are buffer names that are not interesting
- *Uninteresting prefixes* are buffer name prefixes that are not interesting (default `(" " "*")`)
- *Interesting buffers* are buffers that are always interesting

If `tab-bar-buffers-mode` determines a buffer is uninteresting, it will **not** be shown in the tab bar.

Visible buffers are always shown.

Some of tab-bar-mode's customization options are also relevant for tab-bar-buffers.

`tab-bar-close-button-show'
`tab-bar-position'
`tab-bar-select-tab-modifiers'
`tab-bar-tab-hints'

If `tab-bar-tab-name-function' is `tab-bar-tab-name-truncated' then
`tab-bar-tab-name-truncated-max' and `tab-bar-tab-name-ellipsis'
are honored.

Faces:

The face for `tab-bar-tab' is used for `current-buffer'.
`tab-bar-tab-inactive' is used for all other buffers.

Bindings:

Key and mouse bindings are preserved by advising some of
tab-bar-mode's commands around their tab-bar-buffers equivalent, as
defined by `tab-bar--define-keys'.

`tab-new'
`tab-bar-select-tab'
`tab-next'
`tab-previous'
`tab-recent'
`tab-last'
`tab-bar-close-tab'

Dependencies