Alexander-Miller/treemacs@76807bef3c -> Alexander-Miller/treemacs@9986d6cd3d Bad-ptr/persp-mode.el@7a594a3d8f -> Bad-ptr/persp-mode.el@df95ea710e abo-abo/ace-window@0577c426a9 -> abo-abo/ace-window@77115afc1b abo-abo/hydra@9e9e00cb24 -> abo-abo/hydra@317e1de330 dgutov/diff-hl@dabb7be628 -> dgutov/diff-hl@d20f16bf5e dimitri/switch-window@8d9fe251d8 -> dimitri/switch-window@71ef2f54c9 ema2159/centaur-tabs@f4cef95acb -> ema2159/centaur-tabs@a2890d968d emacs-lsp/lsp-treemacs@2894e6dec5 -> emacs-lsp/lsp-treemacs@a48763ba5d joostkremers/writeroom-mode@eac1da790f -> joostkremers/writeroom-mode@1fd52848eb k-talo/volatile-highlights.el@9a20091f0c -> k-talo/volatile-highlights.el@513c8b73cd rolandwalker/nav-flash@2e31f32085 -> rolandwalker/nav-flash@5d4b485678 rolandwalker/unicode-fonts@47f2397ade -> rolandwalker/unicode-fonts@44d0a22420 seagle0128/doom-modeline@b66d5e5006 -> seagle0128/doom-modeline@6125309c2c tarsius/hl-todo@e52285965b -> tarsius/hl-todo@a627d33214
26 lines
912 B
EmacsLisp
26 lines
912 B
EmacsLisp
;;; ui/tabs/config.el -*- lexical-binding: t; -*-
|
|
|
|
(use-package! centaur-tabs
|
|
:hook (doom-first-file . centaur-tabs-mode)
|
|
:init
|
|
(setq centaur-tabs-set-icons t
|
|
centaur-tabs-gray-out-icons 'buffer
|
|
centaur-tabs-set-bar 'left
|
|
centaur-tabs-set-modified-marker t
|
|
centaur-tabs-close-button "✕"
|
|
centaur-tabs-modified-marker "•"
|
|
;; Scrolling (with the mouse wheel) past the end of the tab list
|
|
;; replaces the tab list with that of another Doom workspace. This
|
|
;; prevents that.
|
|
centaur-tabs-cycle-scope 'tabs)
|
|
|
|
:config
|
|
(add-hook! '(+doom-dashboard-mode-hook +popup-buffer-mode-hook)
|
|
(defun +tabs-disable-centaur-tabs-mode-maybe-h ()
|
|
"Disable `centaur-tabs-mode' in current buffer."
|
|
(when (centaur-tabs-mode-on-p)
|
|
(centaur-tabs-local-mode)))))
|
|
|
|
|
|
;; TODO tab-bar-mode (emacs 27)
|
|
;; TODO tab-line-mode (emacs 27)
|