Files
.emacs.d/modules/navigation/siren-centaur-tabs.el
Jim Myhrberg 8730b23256 feat(navigation): Add config for centaur-tabs, not loaded on startup
As I don't see myself using tabs all the time, but potentially wanting
access to them every now and then, I need to manually trigger one of the
tab / tab-group switching keybindings, or M-x centaur-tabs-mode to load
and enable it.
2020-02-08 10:27:18 +00:00

34 lines
826 B
EmacsLisp

;;; siren-centaur-tabs.el --- jimeh's Emacs Siren: centaur-tabs configuration.
;;; Commentary:
;; Basic configuration for centaur-tabs.
;;; Code:
(use-package centaur-tabs
:commands centaur-tabs-mode
:bind
("s-[" . centaur-tabs-backward-tab)
("s-]" . centaur-tabs-forward-tab)
("s-<" . centaur-tabs-backward-group)
("s->" . centaur-tabs-forward-group)
:custom
(centaur-tabs-height 32)
(centaur-tabs-modified-marker "") ;; Unicode Bullet (0x2022)
(centaur-tabs-set-bar 'left)
(centaur-tabs-set-icons t)
(centaur-tabs-set-modified-marker t)
(centaur-tabs-show-navigation-buttons nil)
(centaur-tabs-style "bar")
:config
(centaur-tabs-mode t)
(centaur-tabs-headline-match)
(centaur-tabs-group-by-projectile-project))
(provide 'siren-centaur-tabs)
;;; siren-centaur-tabs.el ends here