Quellcode durchsuchen

Update isearch configs

master
10sr vor 4 Jahren
Ursprung
Commit
e7fb00cd79
Signiert von: 10sr GPG-Schlüssel-ID: C384BB17CBB19347
1 geänderte Dateien mit 11 neuen und 2 gelöschten Zeilen
  1. +11
    -2
      emacs.el

+ 11
- 2
emacs.el Datei anzeigen

@@ -460,8 +460,17 @@ Otherwize hook it."
(define-key esc-map "u" 'undo)
(define-key esc-map "i" (kbd "ESC TAB"))
;; (global-set-key (kbd "C-r") 'query-replace-regexp)
(global-set-key (kbd "C-s") 'isearch-forward-regexp)
(global-set-key (kbd "C-r") 'isearch-backward-regexp)

;; (global-set-key (kbd "C-s") 'isearch-forward-regexp)
;; (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")

(when (fboundp 'undo-fu-only-undo)
(global-set-key (kbd "C-_") 'undo-fu-only-undo))


Laden…
Abbrechen
Speichern