added avy after reading yet another wonderful article by karthinks

This commit is contained in:
2023-07-31 19:24:01 +02:00
parent aa07319b28
commit b58507bd37

24
lisp/init-avy.el Normal file
View File

@@ -0,0 +1,24 @@
;; see https://karthinks.com/software/avy-can-do-anything/
(use-package avy
;; use C-x C-SPC to jump back!
:bind
(;; global:
("C-j" . avy-goto-word-1)
;; mode specific:
:map swiper-map
("C-j" . swiper-avy))
:config
(setq avy-style 'at-full)
;; Home row only (the default).
(setq avy-keys '(?a ?s ?d ?f ?j ?k ?l))
(setq avy-background t))
(provide 'init-avy)
;;; init-avy.el ends here