Let's expand how I can call visual replace function
By adding it to a simple leader key. Perhaps SPC r should really be a menu?
This commit is contained in:
parent
e6d1e06f07
commit
ec3d445a65
1 changed files with 4 additions and 1 deletions
|
@ -1186,7 +1186,10 @@ I appreciated the [[https://github.com/benma/visual-regexp.el][visual-regexp pac
|
||||||
(use-package visual-regexp
|
(use-package visual-regexp
|
||||||
:bind (("C-c r" . vr/replace)
|
:bind (("C-c r" . vr/replace)
|
||||||
("C-c q" . vr/query-replace))
|
("C-c q" . vr/query-replace))
|
||||||
:general (:states 'normal "gR" '("replace" . vr/replace)))
|
:general (:states 'normal "gR" '("replace" . vr/replace))
|
||||||
|
:config (ha-leader
|
||||||
|
"r" '("replace" . vr/replace)
|
||||||
|
"R" '("query replace" . vr/query-replace)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Jump with Avy
|
*** Jump with Avy
|
||||||
|
|
Loading…
Reference in a new issue