Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to hide tabs on buffers which start with a "*" #205

Open
ziova opened this issue Apr 29, 2023 · 1 comment
Open

How to hide tabs on buffers which start with a "*" #205

ziova opened this issue Apr 29, 2023 · 1 comment

Comments

@ziova
Copy link

ziova commented Apr 29, 2023

I want to only use centaur-tabs to navigate through files rather than emacs buffers, is there any way to do / specify this?

@zemek
Copy link

zemek commented Mar 13, 2024

add to your init.el

(defun centaur-tabs-hide-tab (x)
  (let ((name (format "%s" x)))
    (and
     (string-prefix-p "*" name)
     (not (string-equal name "*scratch*")))))
(clrhash centaur-tabs-hide-hash)

(this hides everything that starts with a * except the *scratch* buffer)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants