From 15d12862d8c27445e397171b43b4d83fbde00a42 Mon Sep 17 00:00:00 2001 From: Raphael Roberts Date: Sun, 28 Apr 2019 13:17:17 -0500 Subject: [PATCH] Added visual-regexp key bindings --- init.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init.el b/init.el index 7e824aa..0d255fb 100644 --- a/init.el +++ b/init.el @@ -85,6 +85,10 @@ (add-to-list 'auto-mode-alist '("\\.mustache\\'" . web-mode)) (add-to-list 'auto-mode-alist '("\\.djhtml\\'" . web-mode)) (add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode)) +;; visual-regexp-steroids +(require 'visual-regexp-steroids) +(define-key global-map (kbd "C-c r") 'vr/select-replace) +(define-key global-map (kbd "C-c q") 'vr/select-query-replace) ;; Custom (setq dired-listing-switches "-alh") (defun duplicate-line()