Fix start up bug

The reason is that this code would run before the dependencies
finished, so wrapping in a use-package was the answer.
This commit is contained in:
Howard Abrams 2026-02-10 09:56:43 -08:00
parent 0611ed6a89
commit 2a5848677a

View file

@ -1069,6 +1069,8 @@ And lets make one tab to be /special/:
And some shortcut keys from the =general= project: And some shortcut keys from the =general= project:
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package emacs
:config
(general-nmap :prefix "SPC" (general-nmap :prefix "SPC"
"<tab>" '(:ignore t :which-key "workspaces") "<tab>" '(:ignore t :which-key "workspaces")
"<tab> <tab>" '("switch" . tab-switch) "<tab> <tab>" '("switch" . tab-switch)
@ -1083,7 +1085,7 @@ And some shortcut keys from the =general= project:
(global-set-key (kbd "s-C-[") 'tab-bar-switch-to-prev-tab) (global-set-key (kbd "s-C-[") 'tab-bar-switch-to-prev-tab)
(global-set-key (kbd "s-C-]") 'tab-bar-switch-to-next-tab) (global-set-key (kbd "s-C-]") 'tab-bar-switch-to-next-tab)
(tab-bar-mode 1) (tab-bar-mode 1))
#+END_SRC #+END_SRC
I want to quickly jump, by the number shown on the tab, to that grouping. The following two functions create leader sequences with the name of the tab group: I want to quickly jump, by the number shown on the tab, to that grouping. The following two functions create leader sequences with the name of the tab group: