diff options
author | noa@gaiwan.org | 2024-06-12 21:10:37 +0000 |
---|---|---|
committer | noa@gaiwan.org | 2024-06-12 21:10:37 +0000 |
commit | 8c4f22fff2d7445bd5be2142a865d15067298d80 (patch) | |
tree | 22eed9a7950b0c47a2eb5ca4314dd0b2fbacfa72 | |
parent | 95aaaac23b1ec8fe19de4d8f90beeb095b113cc9 (diff) |
Remove isearch configuration in favour of ctrlf package
-rw-r--r-- | emacs/init.el | 18 |
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 ( |