forgot to tangle

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

View file

@ -347,7 +347,7 @@ kept-old-versions 5)
:config (delete-selection-mode +1)) :config (delete-selection-mode +1))
(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"
@ -361,6 +361,7 @@ kept-old-versions 5)
;; 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")
@ -463,17 +464,13 @@ kept-old-versions 5)
:diminish :diminish
:config (evil-commentary-mode +1)) :config (evil-commentary-mode +1))
(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"))
(use-package projectile (use-package projectile
:diminish projectile-mode :diminish projectile-mode
:demand :demand