-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
I'm using centaur-tabs and dirvish as a dired replacement, with dirvish-side. Right now I have the following config:
(use-package centaur-tabs
:ensure t
:config
(setq centaur-tabs-cycle-scope 'tabs
centaur-tabs-height 32
centaur-tabs-icon-type 'nerd-icons
centaur-tabs-left-edge-margin nil
centaur-tabs-set-bar 'under
centaur-tabs-set-close-button nil
centaur-tabs-set-icons t
centaur-tabs-set-modified-marker t
centaur-tabs-show-count nil
centaur-tabs-show-new-tab-button t
centaur-tabs-style "bar"
x-underline-at-descent-line t)
(centaur-tabs-group-by-projectile-project)
(centaur-tabs-mode t)
(defun centaur-tabs-hide-tab (x)
(let ((name (format "%s" x)))
(or
(window-dedicated-p (selected-window))
(string-prefix-p "*" name)
(string-prefix-p "magit" name)
(derived-mode-p 'dired-mode))))
:hook
(dashboard-mode . centaur-tabs-local-mode)
(treemacs-mode . centaur-tabs-local-mode)
(spacemacs-buffer-mode . centaur-tabs-local-mode)
(term-mode . centaur-tabs-local-mode)
(calendar-mode . centaur-tabs-local-mode)
(org-agenda-mode . centaur-tabs-local-mode)
(helpful-mode . centaur-tabs-local-mode)
(dired-mode . centaur-tabs-local-mode)
(zone-mode . centaur-tabs-local-mode)
(helm-mode . centaur-tabs-local-mode))
I'm not sure if I'm missing something, but once I've opened dirvish it persists in the tab bar no matter what I do. I just want to hide it in general.
Metadata
Metadata
Assignees
Labels
No labels