瀏覽代碼

Remove ivy--regex-fuzzy

master
10sr 4 年之前
父節點
當前提交
22f9216859
簽署人: 10sr GPG Key ID: C384BB17CBB19347
共有 1 個文件被更改,包括 8 次插入6 次删除
  1. +8
    -6
      emacs.el

+ 8
- 6
emacs.el 查看文件

@@ -465,12 +465,11 @@ Otherwize hook it."
;; (global-set-key (kbd "C-r") 'isearch-backward-regexp)
(set-variable 'search-default-mode t)
;; 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)
(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:


Loading…
取消
儲存