found the issue

This commit is contained in:
Sakooooo 2023-12-25 21:23:25 +04:00
parent b9fcb232f1
commit a82c5cbee2
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -420,7 +420,7 @@ Should make startup faster, taken from doom-emacs
** General Leader Key ** General Leader Key
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package general (use-package general
:init :config
(general-create-definer sakomacs/leader-keys (general-create-definer sakomacs/leader-keys
:keymaps `(normal insert visual emacs) :keymaps `(normal insert visual emacs)
:prefix "SPC" :prefix "SPC"
@ -434,6 +434,7 @@ Should make startup faster, taken from doom-emacs
;; toggles ;; toggles
"t" `(:ignore t :which-key "toggles") "t" `(:ignore t :which-key "toggles")
"tt" `(counsel-load-theme :which-key "choose theme") "tt" `(counsel-load-theme :which-key "choose theme")
"ts" '(hydra-text-scale/body :which-key "scale text"))
;; search ;; search
"s" `(:ignore s :which-key "search") "s" `(:ignore s :which-key "search")
"sb" `(swiper :which-key "search buffer") "sb" `(swiper :which-key "search buffer")
@ -542,16 +543,12 @@ Should make startup faster, taken from doom-emacs
#+end_src #+end_src
** Hydra for scaling text ** Hydra for scaling text
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package hydra (use-package hydra)
)
(defhydra hydra-text-scale (:timeout 4) (defhydra hydra-text-scale (:timeout 4)
"scale text" "scale text"
("j" text-scale-increase "in") ("j" text-scale-increase "in")
("k" text-scale-decrease "out") ("k" text-scale-decrease "out")
("f" nil "finished" :exit t)) ("f" nil "finished" :exit t))
(sakomacs/leader-keys
"ts" '(hydra-text-scale/body :which-key "scale text"))
#+end_src #+end_src
** Helpful for projects ** Helpful for projects
#+begin_src emacs-lisp #+begin_src emacs-lisp