Browse Source

some prefs for isearch

pull/1/head
10sr 10 years ago
parent
commit
17652a1747
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      emacs.el

+ 10
- 0
emacs.el View File

@@ -984,6 +984,16 @@ found, otherwise returns nil."
(define-key isearch-mode-map (kbd "C-h") 'isearch-delete-char) (define-key isearch-mode-map (kbd "C-h") 'isearch-delete-char)
(define-key isearch-mode-map (kbd "M-r") (define-key isearch-mode-map (kbd "M-r")
'isearch-query-replace-regexp))) 'isearch-query-replace-regexp)))
;; do not cleanup isearch highlight: use `lazy-highlight-cleanup' to remove
(setq lazy-highlight-cleanup nil)
;; face for isearch highlighing
(set-face-attribute 'lazy-highlight
nil
:foreground `unspecified
:background `unspecified
:underline t
;; :weight `bold
)


(add-hook 'outline-mode-hook (add-hook 'outline-mode-hook
(lambda () (lambda ()


Loading…
Cancel
Save