mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2025-12-16 20:10:58 +01:00
28 lines
475 B
EmacsLisp
28 lines
475 B
EmacsLisp
;; 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)
|
|
|
|
;; (global-set-key (kbd "C-j") 'avy-goto-word-1)
|
|
)
|
|
|
|
|
|
(provide 'init-avy)
|
|
;;; init-avy.el ends here
|