Customize Avy and isearch behavior
This commit is contained in:
@@ -19,6 +19,7 @@
|
|||||||
;; C/M-v move to next/previous match not currently visible
|
;; C/M-v move to next/previous match not currently visible
|
||||||
;; M-</> move to first/last match in buffer
|
;; M-</> move to first/last match in buffer
|
||||||
(setq isearch-allow-motion t)
|
(setq isearch-allow-motion t)
|
||||||
|
(setq isearch-wrap-pause nil)
|
||||||
|
|
||||||
(use-package avy
|
(use-package avy
|
||||||
:ensure t
|
:ensure t
|
||||||
@@ -26,10 +27,14 @@
|
|||||||
(("C-j" . avy-goto-char-timer)
|
(("C-j" . avy-goto-char-timer)
|
||||||
([remap goto-line] . avy-goto-line)
|
([remap goto-line] . avy-goto-line)
|
||||||
:map org-mode-map
|
: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
|
:init
|
||||||
(avy-setup-default))
|
(setq avy-timeout-seconds 0.25)
|
||||||
|
(setq avy-single-candidate-jump nil))
|
||||||
|
|
||||||
|
|
||||||
(use-package avy-zap
|
(use-package avy-zap
|
||||||
:ensure t
|
:ensure t
|
||||||
|
|||||||
Reference in New Issue
Block a user