From 07ff06a99bd5015e01548aad956af874b339c836 Mon Sep 17 00:00:00 2001 From: noa@gaiwan.org Date: Sat, 15 Jun 2024 21:29:08 +0000 Subject: Update isearch configuration --- emacs/init.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'emacs/init.el') diff --git a/emacs/init.el b/emacs/init.el index 5b02411..d34baa3 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -827,14 +827,15 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word." (define-key isearch-mode-map (kbd "") #'isearch-exit-at-front) (define-key isearch-mode-map (kbd "C-") #'isearch-exit-at-end) -(define-key isearch-mode-map (kbd "M-<") #'isearch-beginning-of-buffer) -(define-key isearch-mode-map (kbd "M->") #'isearch-end-of-buffer) ;; Make isearch always quit on C-g (define-key isearch-mode-map (kbd "C-g") #'isearch-cancel) (define-key isearch-mode-map (kbd "C-o") #'isearch-occur) (setopt search-whitespace-regexp ".*?") (setopt isearch-lax-whitespace t) (setopt isearch-lazy-count t) +(setopt isearch-allow-motion t) +(setopt isearch-repeat-on-direction-change t) +(setopt isearch-wrap-pause 'no) ;; Make isearch use the minibuffer like a good normal program (use-package isearch-mb :ensure t) -- cgit 1.4.1-2-gfad0