diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-11-02 00:50:37 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-11-02 00:51:19 -0400 |
commit | 5a5d35366671fee9e6849fd32971d9522e1a3ad7 (patch) | |
tree | 79fd3d0579cad24388957e764ef382f2d2b799eb | |
parent | c7cca9ecb8a6f2b45f52709ec64d84990802167b (diff) | |
download | emacs.d-5a5d35366671fee9e6849fd32971d9522e1a3ad7.tar.gz |
Move replace commands to search-map
-rw-r--r-- | lisp/init-editing.el | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/lisp/init-editing.el b/lisp/init-editing.el index 6a5a72f..0d20d82 100644 --- a/lisp/init-editing.el +++ b/lisp/init-editing.el @@ -59,14 +59,10 @@ (set-buffer-file-coding-system 'utf-8))) (add-hook 'before-save-hook 'km/cleanup-buffer) -;; Replace map -(define-prefix-command 'km/replace-map) -(global-set-key (kbd "C-c r") 'km/replace-map) - -(define-key km/replace-map "s" 'query-replace) -(define-key km/replace-map "S" 'replace-string) -(define-key km/replace-map "r" 'query-replace-regexp) -(define-key km/replace-map "R" 'replace-regexp) +(define-key search-map "s" 'query-replace) +(define-key search-map "S" 'replace-string) +(define-key search-map "r" 'query-replace-regexp) +(define-key search-map "R" 'replace-regexp) (defun km/narrow-to-comment-heading () "Narrow to the current comment heading subtree. |