Browse Source

Remove ivy--regex-fuzzy

master
10sr 4 years ago
parent
commit
22f9216859
Signed by: 10sr GPG Key ID: C384BB17CBB19347
1 changed files with 8 additions and 6 deletions
  1. +8
    -6
      emacs.el

+ 8
- 6
emacs.el View File

@@ -465,12 +465,11 @@ Otherwize hook it."
;; (global-set-key (kbd "C-r") 'isearch-backward-regexp) ;; (global-set-key (kbd "C-r") 'isearch-backward-regexp)
(set-variable 'search-default-mode t) (set-variable 'search-default-mode t)
;; TODO: Do not depend on ivy function ;; TODO: Do not depend on ivy function
(set-variable 'search-default-mode
(lambda (str lax)
(ivy--regex-fuzzy (replace-regexp-in-string (rx (one-or-more whitespace))
""
str))))
;; (isearch-symbol-regexp "a")
;; (set-variable 'search-default-mode
;; (lambda (str lax)
;; (ivy--regex-fuzzy (replace-regexp-in-string (rx (one-or-more whitespace))
;; ""
;; str))))


(when (fboundp 'undo-fu-only-undo) (when (fboundp 'undo-fu-only-undo)
(global-set-key (kbd "C-_") 'undo-fu-only-undo)) (global-set-key (kbd "C-_") 'undo-fu-only-undo))
@@ -2901,6 +2900,9 @@ Any output will be written to current buffer."
) )
) )


;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; highlight-mark





;; Local Variables: ;; Local Variables:


Loading…
Cancel
Save