summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <meyerkya@gmail.com>2013-07-15 20:13:03 -0400
committerKyle Meyer <meyerkya@gmail.com>2013-07-15 20:13:03 -0400
commit0c1e4a3e1f51e5850afd0a43427e2f92399b275f (patch)
tree07b5d12459019c82c99a3fde940b2fdcb3c04730
parent326cd1c71d1a0b4b9579d88721e54ec886baf83e (diff)
downloademacs.d-0c1e4a3e1f51e5850afd0a43427e2f92399b275f.tar.gz
add replace/query-replace bindings
under consistent prefix
-rw-r--r--init/km-keybindings.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/init/km-keybindings.el b/init/km-keybindings.el
index 4e5e002..c4f2efa 100644
--- a/init/km-keybindings.el
+++ b/init/km-keybindings.el
@@ -10,3 +10,8 @@
(global-unset-key (kbd "M-z"))
(global-set-key (kbd "C-'") 'backward-kill-word)
+
+(global-set-key (kbd "C-c r s") 'query-replace)
+(global-set-key (kbd "C-c r S") 'replace-string)
+(global-set-key (kbd "C-c r r") 'query-replace-regexp)
+(global-set-key (kbd "C-c r R") 'replace-regexp)