From 8c4f22fff2d7445bd5be2142a865d15067298d80 Mon Sep 17 00:00:00 2001 From: noa@gaiwan.org Date: Wed, 12 Jun 2024 21:10:37 +0000 Subject: Remove isearch configuration in favour of ctrlf package --- emacs/init.el | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index 692c62a..a213127 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -831,24 +831,6 @@ and when JID is not in `jabber-activity-banned'." (setopt help-at-pt-display-when-idle t) -;;; search -;; search without regard for unicode characters -(setopt search-default-mode 'char-fold-to-regexp - replace-char-fold t - search-highlight t - isearch-lazy-highlight t) -;; when exiting isearch after a match, put the cursor at the beginning of the search rather than the end -(setq isearch-mode-end-hook '(goto-beginning-of-search)) -(defun goto-beginning-of-search () - "positions the point at the beginning of the isearch match" - (when (and (not isearch-mode-end-hook-quit) - isearch-forward) - (goto-char isearch-other-end))) -;; wrap searches -(setopt isearch-wrap-pause 'no-ding) -;; jump straight to previous match when change search direction -(setopt isearch-repeat-on-direction-change t) - (use-package ctrlf :ensure t :bind ( -- cgit 1.4.1-2-gfad0