diff --git a/ha-config.org b/ha-config.org index b3106e3..17d89b1 100644 --- a/ha-config.org +++ b/ha-config.org @@ -1069,21 +1069,23 @@ And let’s make one tab to be /special/: And some shortcut keys from the =general= project: #+BEGIN_SRC emacs-lisp - (general-nmap :prefix "SPC" - "" '(:ignore t :which-key "workspaces") - " " '("switch" . tab-switch) - " p" '("new project" . ha-tab-bar-new-project) - " n" '("new space" . ha-tab-bar-new) - " u" '("update names" . ha-tab-bar-update-names) - " d" '("delete space" . ha-tab-bar-delete) - " w" '("special space" . ha-switch-to-special) - " `" '("recent" . tab-bar-switch-to-recent-tab)) + (use-package emacs + :config + (general-nmap :prefix "SPC" + "" '(:ignore t :which-key "workspaces") + " " '("switch" . tab-switch) + " p" '("new project" . ha-tab-bar-new-project) + " n" '("new space" . ha-tab-bar-new) + " u" '("update names" . ha-tab-bar-update-names) + " d" '("delete space" . ha-tab-bar-delete) + " w" '("special space" . ha-switch-to-special) + " `" '("recent" . tab-bar-switch-to-recent-tab)) - (global-set-key (kbd "s-C-t") 'ha-tab-bar-new) - (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-t") 'ha-tab-bar-new) + (global-set-key (kbd "s-C-[") 'tab-bar-switch-to-prev-tab) + (global-set-key (kbd "s-C-]") 'tab-bar-switch-to-next-tab) - (tab-bar-mode 1) + (tab-bar-mode 1)) #+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: