summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el18
1 files changed, 0 insertions, 18 deletions
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 (