change loading of tab-bar
This commit is contained in:
@@ -106,7 +106,7 @@ DISPLAY-START: `integer', e.g. 3820"
|
|||||||
(add-to-list 'window-scroll-functions #'my-window-scroll-function))
|
(add-to-list 'window-scroll-functions #'my-window-scroll-function))
|
||||||
|
|
||||||
(use-package tab-bar
|
(use-package tab-bar
|
||||||
:defer 0.5
|
:commands (tab-bar-mode)
|
||||||
:bind ((:map global-map
|
:bind ((:map global-map
|
||||||
(("s-{" . tab-bar-switch-to-prev-tab)
|
(("s-{" . tab-bar-switch-to-prev-tab)
|
||||||
("s-}" . tab-bar-switch-to-next-tab)
|
("s-}" . tab-bar-switch-to-next-tab)
|
||||||
@@ -114,7 +114,6 @@ DISPLAY-START: `integer', e.g. 3820"
|
|||||||
("s-w" . tab-bar-close-tab))))
|
("s-w" . tab-bar-close-tab))))
|
||||||
:config
|
:config
|
||||||
(add-to-list 'tab-bar-format #'tab-bar-format-menu-bar)
|
(add-to-list 'tab-bar-format #'tab-bar-format-menu-bar)
|
||||||
(tab-bar-mode)
|
|
||||||
(tab-bar-rename-tab "Default")
|
(tab-bar-rename-tab "Default")
|
||||||
(defun my-tab-view-elisp ()
|
(defun my-tab-view-elisp ()
|
||||||
(if (tab-bar--tab-index-by-name "ELisp IDE")
|
(if (tab-bar--tab-index-by-name "ELisp IDE")
|
||||||
|
|||||||
Reference in New Issue
Block a user