From fdf24dc85fe305b5e366d13c63dd032c81873039 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 18 May 2020 02:50:22 -0400 Subject: [PATCH] Move centaur-tabs-mode to doom-first-file-hook --- modules/ui/tabs/config.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/ui/tabs/config.el b/modules/ui/tabs/config.el index 716cb6d82..63f2f243e 100644 --- a/modules/ui/tabs/config.el +++ b/modules/ui/tabs/config.el @@ -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)