Centaur tabs
This commit is contained in:
parent
4177abd96a
commit
433af27124
@ -289,11 +289,26 @@ Setup other stuff
|
||||
(dolist (mode '(dired-mode-hook lsp-help-mode-hook fundamental-mode-hook))
|
||||
(add-hook mode (lambda () (setq truncate-lines t))))
|
||||
|
||||
;; (straight-use-package 'centaur-tabs)
|
||||
;; (setq centaur-tabs-set-bar 'under)
|
||||
;; (setq x-underline-at-descent-line t)
|
||||
;; (setq centaur-tabs-set-close-button t)
|
||||
;; (setq centaur-tabs-show-navigation-buttons t)
|
||||
(straight-use-package 'centaur-tabs)
|
||||
(setq centaur-tabs-set-bar 'under)
|
||||
(setq x-underline-at-descent-line t)
|
||||
(setq centaur-tabs-set-close-button nil)
|
||||
(setq centaur-tabs-set-icons t)
|
||||
(setq centaur-tabs-show-navigation-buttons nil)
|
||||
(setq centaur-tabs-set-close-button nil)
|
||||
(setq centaur-tabs-set-modified-marker nil)
|
||||
(setq centaur-tabs-show-new-tab-button nil)
|
||||
(setq centaur-tabs-label-fixed-length 16)
|
||||
|
||||
(global-set-key (kbd "C-<tab>") #'centaur-tabs-forward-tab)
|
||||
(global-set-key (kbd "C-S-<iso-lefttab>") #'centaur-tabs-backward-tab)
|
||||
(global-set-key (kbd "C-M-<tab>") #'centaur-tabs-forward-group)
|
||||
(global-set-key (kbd "C-M-S-<iso-lefttab>") #'centaur-tabs-backward-group)
|
||||
|
||||
(dolist (mode '(dashboard-mode-hook))
|
||||
(add-hook mode 'centaur-tabs-local-mode))
|
||||
|
||||
(centaur-tabs-mode +1)
|
||||
|
||||
#+end_src
|
||||
** Text
|
||||
|
Loading…
x
Reference in New Issue
Block a user