diff options
author | noa@gaiwan.org | 2024-06-15 21:29:08 +0000 |
---|---|---|
committer | noa@gaiwan.org | 2024-06-15 21:29:08 +0000 |
commit | 07ff06a99bd5015e01548aad956af874b339c836 (patch) | |
tree | f7e27b75d230a377f6a6e508ce55cea8ae118181 /emacs/init.el | |
parent | bd6e7f937f8e9541a52ceefda1057efb9f922ebc (diff) |
Update isearch configuration
Diffstat (limited to 'emacs/init.el')
-rw-r--r-- | emacs/init.el | 5 |
1 files changed, 3 insertions, 2 deletions
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 "<return>") #'isearch-exit-at-front) (define-key isearch-mode-map (kbd "C-<return>") #'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) |