Browse Source

Add wgrep config

master
10sr 6 years ago
parent
commit
c7aecb6e29
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      emacs.el

+ 7
- 0
emacs.el View File

@@ -120,6 +120,7 @@ found, otherwise returns nil."
aggressive-indent
fancy-narrow
dired-filter
wgrep

scala-mode
;;ensime
@@ -802,6 +803,12 @@ found, otherwise returns nil."
;; Include some extra modes
(require 'generic-x)

(when (safe-require-or-eval 'wgrep)
(defvar grep-mode-map)
(define-key grep-mode-map
"e"
'wgrep-change-to-wgrep-mode))

(with-eval-after-load 'remember
(defvar remember-mode-map (make-sparse-keymap))
(define-key remember-mode-map (kbd "C-x C-s") 'ignore))


Loading…
Cancel
Save