Customize Avy and isearch behavior

This commit is contained in:
2024-04-27 22:44:52 -07:00
parent 19e1b2d8c1
commit df650b7680

View File

@@ -19,6 +19,7 @@
;; C/M-v move to next/previous match not currently visible
;; M-</> move to first/last match in buffer
(setq isearch-allow-motion t)
(setq isearch-wrap-pause nil)
(use-package avy
:ensure t
@@ -26,10 +27,14 @@
(("C-j" . avy-goto-char-timer)
([remap goto-line] . avy-goto-line)
:map org-mode-map
("C-j" . avy-goto-char-timer))
("C-j" . avy-goto-char-timer)
:map isearch-mode-map
("C-j" . avy-isearch))
:init
(avy-setup-default))
(setq avy-timeout-seconds 0.25)
(setq avy-single-candidate-jump nil))
(use-package avy-zap
:ensure t