Skip to content

Commit 64448c8

Browse files
committed
feat: switch from visual-regexp to visual-replace
1 parent 0d79c1c commit 64448c8

File tree

4 files changed

+20
-19
lines changed

4 files changed

+20
-19
lines changed

init.org

+6-7
Original file line numberDiff line numberDiff line change
@@ -1559,14 +1559,13 @@ Toggle between snake/pascal/camel/up/kebab-case or capital underscore.
15591559
("M-_" 'string-inflection-all-cycle))
15601560
#+end_src
15611561

1562-
*** visual-regexp
1563-
Visually highlight regular expression searches as you type. Also supports replace.
1562+
*** visual-replace
1563+
Visually indicate what will be modified in a search and replace as you type.
15641564
#+begin_src emacs-lisp :tangle yes
1565-
(use-package visual-regexp
1565+
(use-package visual-replace
15661566
:ensure t
1567-
:general
1568-
("M-s r" 'vr/query-replace
1569-
"M-s R" 'vr/replace))
1567+
:hook
1568+
(after-init-hook . visual-replace-global-mode))
15701569
#+end_src
15711570

15721571
* Buffers
@@ -4461,7 +4460,7 @@ I am trying to reduce the amount of custom keybindings, therefore I present a ta
44614460
- terraform-mode
44624461
- virtual-auto-fill
44634462
- visual-fill-column
4464-
- visual-regexp (deprecate?)
4463+
- visual-replace
44654464
- vterm
44664465
- ws-butler (deprecate?)
44674466
- zoom-window (deprecate C-x 1)

lock/flake.lock

+9-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lock/flake.nix

+3-3
Original file line numberDiff line numberDiff line change
@@ -982,10 +982,10 @@
982982
type = "git";
983983
url = "https://codeberg.org/joostkremers/visual-fill-column.git";
984984
};
985-
visual-regexp = {
985+
visual-replace = {
986986
flake = false;
987-
owner = "benma";
988-
repo = "visual-regexp.el";
987+
owner = "szermatt";
988+
repo = "visual-replace";
989989
type = "github";
990990
};
991991
vlf = {

recipes/visual-replace

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
(visual-replace :fetcher github
2+
:repo "szermatt/visual-replace")

0 commit comments

Comments
 (0)