From f6b37f1b10bdb407378b59a769e8ff8ab4d95941 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Mon, 2 Dec 2024 16:37:47 -0800 Subject: [PATCH] Add visual-regexp --- init.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index fcc3c00..3b8215e 100644 --- a/init.el +++ b/init.el @@ -351,7 +351,7 @@ PRED is nil, the value of `my/kill-some-buffers-default-pred' is used." ,(format "^%svar/ellama-sessions/.*" user-emacs-directory) ,(format "^%setc/gnus/.*" user-emacs-directory) ,(format "^%svar/bookmark-default.el" user-emacs-directory))) - :bind ("C-c r" . recentf) + ;; :bind ("C-c r" . recentf) :config (recentf-mode 1)) @@ -696,6 +696,11 @@ visual states." :config (avy-setup-default)) +;; better `replace-regexp' +(use-package visual-regexp + :bind (("C-c r" . vr/replace) + ("C-M-%" . vr/query-replace))) + ;; ace-window (use-package ace-window :diminish ace-window-mode