Move centaur-tabs-mode to doom-first-file-hook
This commit is contained in:
parent
da4d867dea
commit
fdf24dc85f
1 changed files with 2 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
;;; ui/tabs/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(use-package! centaur-tabs
|
||||
:after-call after-find-file dired-initial-position-hook
|
||||
:hook (doom-first-file . centaur-tabs-mode)
|
||||
:init
|
||||
(setq centaur-tabs-set-icons t
|
||||
centaur-tabs-gray-out-icons 'buffer
|
||||
|
@ -16,9 +16,7 @@
|
|||
|
||||
:config
|
||||
(add-hook '+doom-dashboard-mode-hook #'centaur-tabs-local-mode)
|
||||
(add-hook '+popup-buffer-mode-hook #'centaur-tabs-local-mode)
|
||||
|
||||
(centaur-tabs-mode +1))
|
||||
(add-hook '+popup-buffer-mode-hook #'centaur-tabs-local-mode))
|
||||
|
||||
|
||||
;; TODO tab-bar-mode (emacs 27)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue