diff --git a/lisp/init-avy.el b/lisp/init-avy.el new file mode 100644 index 0000000..ae1cc4d --- /dev/null +++ b/lisp/init-avy.el @@ -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